Class UserIdentityProperties
java.lang.Object
com.azure.resourcemanager.containerregistry.models.UserIdentityProperties
The UserIdentityProperties model.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of UserIdentityProperties class. -
Method Summary
Modifier and TypeMethodDescriptionclientId()Get the clientId property: The client id of user assigned identity.Get the principalId property: The principal id of user assigned identity.voidvalidate()Validates the instance.withClientId(String clientId) Set the clientId property: The client id of user assigned identity.withPrincipalId(String principalId) Set the principalId property: The principal id of user assigned identity.
-
Constructor Details
-
UserIdentityProperties
public UserIdentityProperties()Creates an instance of UserIdentityProperties class.
-
-
Method Details
-
principalId
Get the principalId property: The principal id of user assigned identity.- Returns:
- the principalId value.
-
withPrincipalId
Set the principalId property: The principal id of user assigned identity.- Parameters:
principalId- the principalId value to set.- Returns:
- the UserIdentityProperties object itself.
-
clientId
Get the clientId property: The client id of user assigned identity.- Returns:
- the clientId value.
-
withClientId
Set the clientId property: The client id of user assigned identity.- Parameters:
clientId- the clientId value to set.- Returns:
- the UserIdentityProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-