Class UserIdentityProperties
- java.lang.Object
-
- com.azure.resourcemanager.apimanagement.models.UserIdentityProperties
-
public final class UserIdentityProperties extends Object
The UserIdentityProperties model.
-
-
Constructor Summary
Constructors Constructor Description UserIdentityProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
clientId()
Get the clientId property: The client id of user assigned identity.String
principalId()
Get the principalId property: The principal id of user assigned identity.void
validate()
Validates the instance.UserIdentityProperties
withClientId(String clientId)
Set the clientId property: The client id of user assigned identity.UserIdentityProperties
withPrincipalId(String principalId)
Set the principalId property: The principal id of user assigned identity.
-
-
-
Method Detail
-
principalId
public String principalId()
Get the principalId property: The principal id of user assigned identity.- Returns:
- the principalId value.
-
withPrincipalId
public UserIdentityProperties withPrincipalId(String principalId)
Set the principalId property: The principal id of user assigned identity.- Parameters:
principalId
- the principalId value to set.- Returns:
- the UserIdentityProperties object itself.
-
clientId
public String clientId()
Get the clientId property: The client id of user assigned identity.- Returns:
- the clientId value.
-
withClientId
public UserIdentityProperties withClientId(String clientId)
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.
-
-