public final class ClusterPrincipalAssignmentInner
extends com.azure.core.management.ProxyResource
Constructor and Description |
---|
ClusterPrincipalAssignmentInner() |
Modifier and Type | Method and Description |
---|---|
String |
principalId()
Get the principalId property: The principal ID assigned to the cluster principal.
|
String |
principalName()
Get the principalName property: The principal name.
|
PrincipalType |
principalType()
Get the principalType property: Principal type.
|
ResourceProvisioningState |
provisioningState()
Get the provisioningState property: The provisioned state of the resource.
|
ClusterPrincipalRole |
role()
Get the role property: Cluster principal role.
|
com.azure.core.management.SystemData |
systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
|
String |
tenantId()
Get the tenantId property: The tenant id of the principal.
|
String |
tenantName()
Get the tenantName property: The tenant name of the principal.
|
void |
validate()
Validates the instance.
|
ClusterPrincipalAssignmentInner |
withPrincipalId(String principalId)
Set the principalId property: The principal ID assigned to the cluster principal.
|
ClusterPrincipalAssignmentInner |
withPrincipalType(PrincipalType principalType)
Set the principalType property: Principal type.
|
ClusterPrincipalAssignmentInner |
withRole(ClusterPrincipalRole role)
Set the role property: Cluster principal role.
|
ClusterPrincipalAssignmentInner |
withTenantId(String tenantId)
Set the tenantId property: The tenant id of the principal.
|
public com.azure.core.management.SystemData systemData()
public String principalId()
public ClusterPrincipalAssignmentInner withPrincipalId(String principalId)
principalId
- the principalId value to set.public ClusterPrincipalRole role()
public ClusterPrincipalAssignmentInner withRole(ClusterPrincipalRole role)
role
- the role value to set.public String tenantId()
public ClusterPrincipalAssignmentInner withTenantId(String tenantId)
tenantId
- the tenantId value to set.public PrincipalType principalType()
public ClusterPrincipalAssignmentInner withPrincipalType(PrincipalType principalType)
principalType
- the principalType value to set.public String tenantName()
public String principalName()
public ResourceProvisioningState provisioningState()
public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.