Class ClientAccessRight
java.lang.Object
com.azure.resourcemanager.databoxedge.models.ClientAccessRight
The mapping between a particular client IP and the type of access client has on the NFS share.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the accessPermission property: Type of access to be allowed for the client.client()
Get the client property: IP of the client.void
validate()
Validates the instance.withAccessPermission
(ClientPermissionType accessPermission) Set the accessPermission property: Type of access to be allowed for the client.withClient
(String client) Set the client property: IP of the client.
-
Constructor Details
-
ClientAccessRight
public ClientAccessRight()Creates an instance of ClientAccessRight class.
-
-
Method Details
-
client
Get the client property: IP of the client.- Returns:
- the client value.
-
withClient
Set the client property: IP of the client.- Parameters:
client
- the client value to set.- Returns:
- the ClientAccessRight object itself.
-
accessPermission
Get the accessPermission property: Type of access to be allowed for the client.- Returns:
- the accessPermission value.
-
withAccessPermission
Set the accessPermission property: Type of access to be allowed for the client.- Parameters:
accessPermission
- the accessPermission value to set.- Returns:
- the ClientAccessRight object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-