Class UserIdentity
java.lang.Object
com.azure.resourcemanager.postgresqlflexibleserver.models.UserIdentity
Describes a single user-assigned identity associated with the application.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclientId()
Get the clientId property: the client identifier of the Service Principal which this identity represents.Get the principalId property: the object identifier of the Service Principal which this identity represents.void
validate()
Validates the instance.withClientId
(String clientId) Set the clientId property: the client identifier of the Service Principal which this identity represents.withPrincipalId
(String principalId) Set the principalId property: the object identifier of the Service Principal which this identity represents.
-
Constructor Details
-
UserIdentity
public UserIdentity()Creates an instance of UserIdentity class.
-
-
Method Details
-
principalId
Get the principalId property: the object identifier of the Service Principal which this identity represents.- Returns:
- the principalId value.
-
withPrincipalId
Set the principalId property: the object identifier of the Service Principal which this identity represents.- Parameters:
principalId
- the principalId value to set.- Returns:
- the UserIdentity object itself.
-
clientId
Get the clientId property: the client identifier of the Service Principal which this identity represents.- Returns:
- the clientId value.
-
withClientId
Set the clientId property: the client identifier of the Service Principal which this identity represents.- Parameters:
clientId
- the clientId value to set.- Returns:
- the UserIdentity object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-