Class ClientAccessRight

java.lang.Object
com.azure.resourcemanager.databoxedge.models.ClientAccessRight

public final class ClientAccessRight extends Object
The mapping between a particular client IP and the type of access client has on the NFS share.
  • Constructor Details

    • ClientAccessRight

      public ClientAccessRight()
      Creates an instance of ClientAccessRight class.
  • Method Details

    • client

      public String client()
      Get the client property: IP of the client.
      Returns:
      the client value.
    • withClient

      public ClientAccessRight withClient(String client)
      Set the client property: IP of the client.
      Parameters:
      client - the client value to set.
      Returns:
      the ClientAccessRight object itself.
    • accessPermission

      public ClientPermissionType accessPermission()
      Get the accessPermission property: Type of access to be allowed for the client.
      Returns:
      the accessPermission value.
    • withAccessPermission

      public ClientAccessRight withAccessPermission(ClientPermissionType accessPermission)
      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.