Class UserIdentityProperties

java.lang.Object
com.azure.resourcemanager.eventgrid.models.UserIdentityProperties

public final class UserIdentityProperties extends Object
The information about the user identity.
  • Constructor Details

    • UserIdentityProperties

      public UserIdentityProperties()
  • Method Details

    • 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.