Class AclBinding
Represents an ACL binding that specify the operation and permission type for a specific principal over one or more resources of the same type. Used by "IAdminClient.CreateAclsAsync", returned by "IAdminClient.DescribeAclsAsync" and "IAdminClient.DeleteAclsAsync".
Inherited Members
Namespace: Confluent.Kafka.Admin
Assembly: Confluent.Kafka.dll
Syntax
public class AclBinding
  Properties
Entry
The access control entry.
Declaration
public AccessControlEntry Entry { get; set; }
  Property Value
| Type | Description | 
|---|---|
| AccessControlEntry | 
Pattern
The resource pattern.
Declaration
public ResourcePattern Pattern { get; set; }
  Property Value
| Type | Description | 
|---|---|
| ResourcePattern | 
Methods
Clone()
A clone of the AclBinding object
Declaration
public AclBinding Clone()
  Returns
| Type | Description | 
|---|---|
| AclBinding | 
Equals(object)
Tests whether this instance is equal to the specified object.
Declaration
public override bool Equals(object obj)
  Parameters
| Type | Name | Description | 
|---|---|---|
| object | obj | The object to test.  | 
      
Returns
| Type | Description | 
|---|---|
| bool | true if this is an AclBinding and the property values are equal. false otherwise.  | 
      
Overrides
GetHashCode()
Returns a hash code for this value.
Declaration
public override int GetHashCode()
  Returns
| Type | Description | 
|---|---|
| int | An integer that specifies a hash value for this value.  | 
      
Overrides
ToFilter()
Create a filter which matches only this AclBinding.
Declaration
public AclBindingFilter ToFilter()
  Returns
| Type | Description | 
|---|---|
| AclBindingFilter | 
ToString()
Returns a JSON representation of this AclBinding object.
Declaration
public override string ToString()
  Returns
| Type | Description | 
|---|---|
| string | A JSON representation of this AclBinding object.  | 
      
Overrides
Operators
operator ==(AclBinding, AclBinding)
Tests whether AclBinding instance a is equal to AclBinding instance b.
Declaration
public static bool operator ==(AclBinding a, AclBinding b)
  Parameters
| Type | Name | Description | 
|---|---|---|
| AclBinding | a | The first AclBinding instance to compare.  | 
      
| AclBinding | b | The second AclBinding instance to compare.  | 
      
Returns
| Type | Description | 
|---|---|
| bool | true if AclBinding instances a and b are equal. false otherwise.  | 
      
operator !=(AclBinding, AclBinding)
Tests whether AclBinding instance a is not equal to AclBinding instance b.
Declaration
public static bool operator !=(AclBinding a, AclBinding b)
  Parameters
| Type | Name | Description | 
|---|---|---|
| AclBinding | a | The first AclBinding instance to compare.  | 
      
| AclBinding | b | The second AclBinding instance to compare.  | 
      
Returns
| Type | Description | 
|---|---|
| bool | true if AclBinding instances a and b are not equal. false otherwise.  |