Class ServiceManagedIdentity
- java.lang.Object
-
- com.azure.resourcemanager.healthcareapis.models.ServiceManagedIdentity
-
public class ServiceManagedIdentity extends Object
Managed service identity (system assigned and/or user assigned identities).
-
-
Constructor Summary
Constructors Constructor Description ServiceManagedIdentity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServiceManagedIdentityIdentity
identity()
Get the identity property: Setting indicating whether the service has a managed identity associated with it.void
validate()
Validates the instance.ServiceManagedIdentity
withIdentity(ServiceManagedIdentityIdentity identity)
Set the identity property: Setting indicating whether the service has a managed identity associated with it.
-
-
-
Method Detail
-
identity
public ServiceManagedIdentityIdentity identity()
Get the identity property: Setting indicating whether the service has a managed identity associated with it.- Returns:
- the identity value.
-
withIdentity
public ServiceManagedIdentity withIdentity(ServiceManagedIdentityIdentity identity)
Set the identity property: Setting indicating whether the service has a managed identity associated with it.- Parameters:
identity
- the identity value to set.- Returns:
- the ServiceManagedIdentity object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-