java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.databoxedge.models.ArmBaseModel
com.azure.resourcemanager.databoxedge.fluent.models.UserInner

public final class UserInner extends ArmBaseModel
Represents a user who has access to one or more shares on the Data Box Edge/Gateway device.
  • Constructor Details

    • UserInner

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

    • encryptedPassword

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

      public UserInner withEncryptedPassword(AsymmetricEncryptedSecret encryptedPassword)
      Set the encryptedPassword property: The password details.
      Parameters:
      encryptedPassword - the encryptedPassword value to set.
      Returns:
      the UserInner 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 UserInner 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 UserInner object itself.
    • userType

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

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

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