Class UserAccessRight
java.lang.Object
com.azure.resourcemanager.databoxedge.models.UserAccessRight
The mapping between a particular user and the access type on the SMB share.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the accessType property: Type of access to be allowed for the user.userId()
Get the userId property: User ID (already existing in the device).void
validate()
Validates the instance.withAccessType
(ShareAccessType accessType) Set the accessType property: Type of access to be allowed for the user.withUserId
(String userId) Set the userId property: User ID (already existing in the device).
-
Constructor Details
-
UserAccessRight
public UserAccessRight()Creates an instance of UserAccessRight class.
-
-
Method Details
-
userId
Get the userId property: User ID (already existing in the device).- Returns:
- the userId value.
-
withUserId
Set the userId property: User ID (already existing in the device).- Parameters:
userId
- the userId value to set.- Returns:
- the UserAccessRight object itself.
-
accessType
Get the accessType property: Type of access to be allowed for the user.- Returns:
- the accessType value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-