Class ShareAccessRight
java.lang.Object
com.azure.resourcemanager.databoxedge.models.ShareAccessRight
Specifies the mapping between this particular user and the type of access he has on shares on this device.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the accessType property: Type of access to be allowed on the share for this user.shareId()
Get the shareId property: The share ID.void
validate()
Validates the instance.withAccessType
(ShareAccessType accessType) Set the accessType property: Type of access to be allowed on the share for this user.withShareId
(String shareId) Set the shareId property: The share ID.
-
Constructor Details
-
ShareAccessRight
public ShareAccessRight()Creates an instance of ShareAccessRight class.
-
-
Method Details
-
accessType
Get the accessType property: Type of access to be allowed on the share for this user.- Returns:
- the accessType value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.