Class UserIdentityProperties
- java.lang.Object
-
- com.azure.resourcemanager.eventgrid.models.UserIdentityProperties
-
public final class UserIdentityProperties extends Object
The information about the user identity.
-
-
Constructor Summary
Constructors Constructor Description UserIdentityProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclientId()Get the clientId property: The client id of user assigned identity.StringprincipalId()Get the principalId property: The principal id of user assigned identity.voidvalidate()Validates the instance.UserIdentityPropertieswithClientId(String clientId)Set the clientId property: The client id of user assigned identity.UserIdentityPropertieswithPrincipalId(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.
-
-