java.lang.Object
com.azure.resourcemanager.recoveryservices.models.UserIdentity

public class UserIdentity extends Object
A resource identity that is managed by the user of the service.
  • Constructor Details

    • UserIdentity

      public UserIdentity()
  • Method Details

    • principalId

      public String principalId()
      Get the principalId property: The principal ID of the user-assigned identity.
      Returns:
      the principalId value.
    • clientId

      public String clientId()
      Get the clientId property: The client ID of the user-assigned identity.
      Returns:
      the clientId value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.