java.lang.Object
com.azure.resourcemanager.authorization.models.UserSet

public final class UserSet extends Object
The detail of a user.
  • Constructor Details

    • UserSet

      public UserSet()
      Creates an instance of UserSet class.
  • Method Details

    • userType

      public UserType userType()
      Get the userType property: The type of user.
      Returns:
      the userType value.
    • withUserType

      public UserSet withUserType(UserType userType)
      Set the userType property: The type of user.
      Parameters:
      userType - the userType value to set.
      Returns:
      the UserSet object itself.
    • isBackup

      public Boolean isBackup()
      Get the isBackup property: The value indicating whether the user is a backup fallback approver.
      Returns:
      the isBackup value.
    • withIsBackup

      public UserSet withIsBackup(Boolean isBackup)
      Set the isBackup property: The value indicating whether the user is a backup fallback approver.
      Parameters:
      isBackup - the isBackup value to set.
      Returns:
      the UserSet object itself.
    • id

      public String id()
      Get the id property: The object id of the user.
      Returns:
      the id value.
    • withId

      public UserSet withId(String id)
      Set the id property: The object id of the user.
      Parameters:
      id - the id value to set.
      Returns:
      the UserSet object itself.
    • description

      public String description()
      Get the description property: The description of the user.
      Returns:
      the description value.
    • withDescription

      public UserSet withDescription(String description)
      Set the description property: The description of the user.
      Parameters:
      description - the description value to set.
      Returns:
      the UserSet object itself.
    • validate

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