Class UserProperties
java.lang.Object
com.azure.resourcemanager.databoxedge.fluent.models.UserProperties
The user properties.
-
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.
-
Constructor Details
-
UserProperties
public UserProperties()Creates an instance of UserProperties 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 UserProperties 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 UserProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-