java.lang.Object
com.azure.resourcemanager.databoxedge.fluent.models.UserProperties

public final class UserProperties extends Object
The user properties.
  • Constructor Details

    • UserProperties

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

    • encryptedPassword

      public AsymmetricEncryptedSecret encryptedPassword()
      Get the encryptedPassword property: The password details.
      Returns:
      the encryptedPassword value.
    • withEncryptedPassword

      public UserProperties withEncryptedPassword(AsymmetricEncryptedSecret encryptedPassword)
      Set the encryptedPassword property: The password details.
      Parameters:
      encryptedPassword - the encryptedPassword value to set.
      Returns:
      the UserProperties object itself.
    • shareAccessRights

      public List<ShareAccessRight> shareAccessRights()
      Get the shareAccessRights property: List of shares that the user has rights on. This field should not be specified during user creation.
      Returns:
      the shareAccessRights value.
    • withShareAccessRights

      public UserProperties withShareAccessRights(List<ShareAccessRight> shareAccessRights)
      Set the shareAccessRights property: List of shares that the user has rights on. This field should not be specified during user creation.
      Parameters:
      shareAccessRights - the shareAccessRights value to set.
      Returns:
      the UserProperties object itself.
    • userType

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

      public UserProperties withUserType(UserType userType)
      Set the userType property: Type of the user.
      Parameters:
      userType - the userType value to set.
      Returns:
      the UserProperties object itself.
    • validate

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