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".
Inheritance
Inherited Members
Namespace: Confluent.Kafka.Admin
Assembly: cs.temp.dll.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 |
---|---|---|
System.Object | obj | The object to test. |
Returns
Type | Description |
---|---|
System.Boolean | 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 |
---|---|
System.Int32 | 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 |
---|---|
System.String | A JSON representation of this AclBinding object. |
Overrides
Operators
Equality(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 |
---|---|
System.Boolean | true if AclBinding instances a and b are equal. false otherwise. |
Inequality(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 |
---|---|
System.Boolean | true if AclBinding instances a and b are not equal. false otherwise. |