ManagedCassandraManagedServiceIdentity Class
- java.
lang. Object - com.
azure. resourcemanager. cosmos. models. ManagedCassandraManagedServiceIdentity
- com.
Implements
public final class ManagedCassandraManagedServiceIdentity
implements JsonSerializable<ManagedCassandraManagedServiceIdentity>
Identity for the resource.
Constructor Summary
Constructor | Description |
---|---|
ManagedCassandraManagedServiceIdentity() |
Creates an instance of Managed |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Managed |
fromJson(JsonReader jsonReader)
Reads an instance of Managed |
String |
principalId()
Get the principal |
String |
tenantId()
Get the tenant |
Json |
toJson(JsonWriter jsonWriter) |
Managed |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Managed |
withType(ManagedCassandraResourceIdentityType type)
Set the type property: The type of the resource. |
Methods inherited from java.lang.Object
Constructor Details
ManagedCassandraManagedServiceIdentity
public ManagedCassandraManagedServiceIdentity()
Creates an instance of ManagedCassandraManagedServiceIdentity class.
Method Details
fromJson
public static ManagedCassandraManagedServiceIdentity fromJson(JsonReader jsonReader)
Reads an instance of ManagedCassandraManagedServiceIdentity from the JsonReader.
Parameters:
Returns:
Throws:
principalId
public String principalId()
Get the principalId property: The object id of the identity resource.
Returns:
tenantId
public String tenantId()
Get the tenantId property: The tenant id of the resource.
Returns:
toJson
type
public ManagedCassandraResourceIdentityType type()
Get the type property: The type of the resource.
Returns:
validate
public void validate()
Validates the instance.
withType
public ManagedCassandraManagedServiceIdentity withType(ManagedCassandraResourceIdentityType type)
Set the type property: The type of the resource.
Parameters:
Returns:
Applies to
Azure SDK for Java