Class UserInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.databoxedge.models.ArmBaseModel
com.azure.resourcemanager.databoxedge.fluent.models.UserInner
Represents a user who has access to one or more shares on the Data Box Edge/Gateway device.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the encryptedPassword property: The password details.Get the shareAccessRights property: List of shares that the user has rights on.userType()
Get the userType property: Type of the user.void
validate()
Validates the instance.withEncryptedPassword
(AsymmetricEncryptedSecret encryptedPassword) Set the encryptedPassword property: The password details.withShareAccessRights
(List<ShareAccessRight> shareAccessRights) Set the shareAccessRights property: List of shares that the user has rights on.withUserType
(UserType userType) Set the userType property: Type of the user.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
UserInner
public UserInner()Creates an instance of UserInner class.
-
-
Method Details
-
encryptedPassword
Get the encryptedPassword property: The password details.- Returns:
- the encryptedPassword value.
-
withEncryptedPassword
Set the encryptedPassword property: The password details.- Parameters:
encryptedPassword
- the encryptedPassword value to set.- Returns:
- the UserInner object itself.
-
userType
Get the userType property: Type of the user.- Returns:
- the userType value.
-
withUserType
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 classArmBaseModel
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-