confluent-kafka-dotnet
Show / Hide Table of Contents

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
object
AclBinding
Inherited Members
object.Equals(object, object)
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
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
TypeDescription
AccessControlEntry

Pattern

The resource pattern.

Declaration
public ResourcePattern Pattern { get; set; }
Property Value
TypeDescription
ResourcePattern

Methods

Clone()

A clone of the AclBinding object

Declaration
public AclBinding Clone()
Returns
TypeDescription
AclBinding

Equals(object)

Tests whether this instance is equal to the specified object.

Declaration
public override bool Equals(object obj)
Parameters
TypeNameDescription
objectobj

The object to test.

Returns
TypeDescription
bool

true if this is an AclBinding and the property values are equal. false otherwise.

Overrides
object.Equals(object)

GetHashCode()

Returns a hash code for this value.

Declaration
public override int GetHashCode()
Returns
TypeDescription
int

An integer that specifies a hash value for this value.

Overrides
object.GetHashCode()

ToFilter()

Create a filter which matches only this AclBinding.

Declaration
public AclBindingFilter ToFilter()
Returns
TypeDescription
AclBindingFilter

ToString()

Returns a JSON representation of this AclBinding object.

Declaration
public override string ToString()
Returns
TypeDescription
string

A JSON representation of this AclBinding object.

Overrides
object.ToString()

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
TypeNameDescription
AclBindinga

The first AclBinding instance to compare.

AclBindingb

The second AclBinding instance to compare.

Returns
TypeDescription
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
TypeNameDescription
AclBindinga

The first AclBinding instance to compare.

AclBindingb

The second AclBinding instance to compare.

Returns
TypeDescription
bool

true if AclBinding instances a and b are not equal. false otherwise.

In this article