RoleBindingRecordInner Class
- java.
lang. Object - com.
azure. resourcemanager. confluent. fluent. models. RoleBindingRecordInner
- com.
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 crn |
|
static
Role |
fromJson(JsonReader jsonReader)
Reads an instance of Role |
| String |
id()
Get the id property: Id of the role binding. |
| String |
kind()
Get the kind property: The type of the resource. |
|
Metadata |
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 role |
|
Json |
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:
fromJson
public static RoleBindingRecordInner fromJson(JsonReader jsonReader)
Reads an instance of RoleBindingRecordInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Id of the role binding.
Returns:
kind
public String kind()
Get the kind property: The type of the resource.
Returns:
metadata
public MetadataEntity metadata()
Get the metadata property: Metadata of the record.
Returns:
principal
public String principal()
Get the principal property: The principal User or Group to bind the role to.
Returns:
roleName
public String roleName()
Get the roleName property: The name of the role to bind to the principal.
Returns: