ClientAccessRight Class
- java.
lang. Object - com.
azure. resourcemanager. databoxedge. models. ClientAccessRight
- com.
Implements
public final class ClientAccessRight
implements JsonSerializable<ClientAccessRight>
The mapping between a particular client IP and the type of access client has on the NFS share.
Constructor Summary
| Constructor | Description |
|---|---|
| ClientAccessRight() |
Creates an instance of Client |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Client |
accessPermission()
Get the access |
| String |
client()
Get the client property: IP of the client. |
|
static
Client |
fromJson(JsonReader jsonReader)
Reads an instance of Client |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Client |
withAccessPermission(ClientPermissionType accessPermission)
Set the access |
|
Client |
withClient(String client)
Set the client property: IP of the client. |
Methods inherited from java.lang.Object
Constructor Details
ClientAccessRight
public ClientAccessRight()
Creates an instance of ClientAccessRight class.
Method Details
accessPermission
public ClientPermissionType accessPermission()
Get the accessPermission property: Type of access to be allowed for the client.
Returns:
client
public String client()
Get the client property: IP of the client.
Returns:
fromJson
public static ClientAccessRight fromJson(JsonReader jsonReader)
Reads an instance of ClientAccessRight from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withAccessPermission
public ClientAccessRight withAccessPermission(ClientPermissionType accessPermission)
Set the accessPermission property: Type of access to be allowed for the client.
Parameters:
Returns:
withClient
public ClientAccessRight withClient(String client)
Set the client property: IP of the client.
Parameters:
Returns: