Class ManagedCassandraManagedServiceIdentity
java.lang.Object
com.azure.resourcemanager.cosmos.models.ManagedCassandraManagedServiceIdentity
Identity for the resource.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ManagedCassandraManagedServiceIdentity class. -
Method Summary
Modifier and TypeMethodDescriptionGet the principalId property: The object id of the identity resource.tenantId()Get the tenantId property: The tenant id of the resource.type()Get the type property: The type of the resource.voidvalidate()Validates the instance.Set the type property: The type of the resource.
-
Constructor Details
-
ManagedCassandraManagedServiceIdentity
public ManagedCassandraManagedServiceIdentity()Creates an instance of ManagedCassandraManagedServiceIdentity class.
-
-
Method Details
-
principalId
Get the principalId property: The object id of the identity resource.- Returns:
- the principalId value.
-
tenantId
Get the tenantId property: The tenant id of the resource.- Returns:
- the tenantId value.
-
type
Get the type property: The type of the resource.- Returns:
- the type value.
-
withType
Set the type property: The type of the resource.- Parameters:
type- the type value to set.- Returns:
- the ManagedCassandraManagedServiceIdentity object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-