Class ManagedCassandraManagedServiceIdentity
- java.lang.Object
-
- com.azure.resourcemanager.cosmos.models.ManagedCassandraManagedServiceIdentity
-
public class ManagedCassandraManagedServiceIdentity extends Object
Identity for the resource.
-
-
Constructor Summary
Constructors Constructor Description ManagedCassandraManagedServiceIdentity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringprincipalId()Get the principalId property: The object id of the identity resource.StringtenantId()Get the tenantId property: The tenant id of the resource.ManagedCassandraResourceIdentityTypetype()Get the type property: The type of the resource.voidvalidate()Validates the instance.ManagedCassandraManagedServiceIdentitywithType(ManagedCassandraResourceIdentityType type)Set the type property: The type of the resource.
-
-
-
Method Detail
-
principalId
public String principalId()
Get the principalId property: The object id of the identity resource.- Returns:
- the principalId value.
-
tenantId
public String tenantId()
Get the tenantId property: The tenant id of the resource.- Returns:
- the tenantId value.
-
type
public ManagedCassandraResourceIdentityType type()
Get the type property: The type of the resource.- Returns:
- the type value.
-
withType
public ManagedCassandraManagedServiceIdentity withType(ManagedCassandraResourceIdentityType type)
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.
-
-