次の方法で共有


RoleBindingRecordInner Class

  • java.lang.Object
    • com.azure.resourcemanager.confluent.fluent.models.RoleBindingRecordInner

Implements

public final class RoleBindingRecordInner
implements JsonSerializable<RoleBindingRecordInner>

Details on principal, role name and crn pattern of a role binding.

Method Summary

Modifier and Type Method and Description
String crnPattern()

Get the crnPattern property: A CRN that specifies the scope and resource patterns necessary for the role to bind.

static RoleBindingRecordInner fromJson(JsonReader jsonReader)

Reads an instance of RoleBindingRecordInner from the JsonReader.

String id()

Get the id property: Id of the role binding.

String kind()

Get the kind property: The type of the resource.

MetadataEntity metadata()

Get the metadata property: Metadata of the record.

String principal()

Get the principal property: The principal User or Group to bind the role to.

String roleName()

Get the roleName property: The name of the role to bind to the principal.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

crnPattern

public String crnPattern()

Get the crnPattern property: A CRN that specifies the scope and resource patterns necessary for the role to bind.

Returns:

the crnPattern value.

fromJson

public static RoleBindingRecordInner fromJson(JsonReader jsonReader)

Reads an instance of RoleBindingRecordInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of RoleBindingRecordInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the RoleBindingRecordInner.

id

public String id()

Get the id property: Id of the role binding.

Returns:

the id value.

kind

public String kind()

Get the kind property: The type of the resource.

Returns:

the kind value.

metadata

public MetadataEntity metadata()

Get the metadata property: Metadata of the record.

Returns:

the metadata value.

principal

public String principal()

Get the principal property: The principal User or Group to bind the role to.

Returns:

the principal value.

roleName

public String roleName()

Get the roleName property: The name of the role to bind to the principal.

Returns:

the roleName value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to