Class ServicesResourceIdentity
- java.lang.Object
-
- com.azure.resourcemanager.healthcareapis.models.ServicesResourceIdentity
-
public class ServicesResourceIdentity extends Object
Setting indicating whether the service has a managed identity associated with it.
-
-
Constructor Summary
Constructors Constructor Description ServicesResourceIdentity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
principalId()
Get the principalId property: The principal ID of the resource identity.String
tenantId()
Get the tenantId property: The tenant ID of the resource.ManagedServiceIdentityType
type()
Get the type property: Type of identity being specified, currently SystemAssigned and None are allowed.void
validate()
Validates the instance.ServicesResourceIdentity
withType(ManagedServiceIdentityType type)
Set the type property: Type of identity being specified, currently SystemAssigned and None are allowed.
-
-
-
Method Detail
-
principalId
public String principalId()
Get the principalId property: The principal ID of the resource identity.- Returns:
- the principalId value.
-
tenantId
public String tenantId()
Get the tenantId property: The tenant ID of the resource.- Returns:
- the tenantId value.
-
type
public ManagedServiceIdentityType type()
Get the type property: Type of identity being specified, currently SystemAssigned and None are allowed.- Returns:
- the type value.
-
withType
public ServicesResourceIdentity withType(ManagedServiceIdentityType type)
Set the type property: Type of identity being specified, currently SystemAssigned and None are allowed.- Parameters:
type
- the type value to set.- Returns:
- the ServicesResourceIdentity object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-