java.lang.Object
com.azure.resourcemanager.databoxedge.fluent.models.ShareProperties

public final class ShareProperties extends Object
The share properties.
  • Constructor Details

    • ShareProperties

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

    • description

      public String description()
      Get the description property: Description for the share.
      Returns:
      the description value.
    • withDescription

      public ShareProperties withDescription(String description)
      Set the description property: Description for the share.
      Parameters:
      description - the description value to set.
      Returns:
      the ShareProperties object itself.
    • shareStatus

      public ShareStatus shareStatus()
      Get the shareStatus property: Current status of the share.
      Returns:
      the shareStatus value.
    • withShareStatus

      public ShareProperties withShareStatus(ShareStatus shareStatus)
      Set the shareStatus property: Current status of the share.
      Parameters:
      shareStatus - the shareStatus value to set.
      Returns:
      the ShareProperties object itself.
    • monitoringStatus

      public MonitoringStatus monitoringStatus()
      Get the monitoringStatus property: Current monitoring status of the share.
      Returns:
      the monitoringStatus value.
    • withMonitoringStatus

      public ShareProperties withMonitoringStatus(MonitoringStatus monitoringStatus)
      Set the monitoringStatus property: Current monitoring status of the share.
      Parameters:
      monitoringStatus - the monitoringStatus value to set.
      Returns:
      the ShareProperties object itself.
    • azureContainerInfo

      public AzureContainerInfo azureContainerInfo()
      Get the azureContainerInfo property: Azure container mapping for the share.
      Returns:
      the azureContainerInfo value.
    • withAzureContainerInfo

      public ShareProperties withAzureContainerInfo(AzureContainerInfo azureContainerInfo)
      Set the azureContainerInfo property: Azure container mapping for the share.
      Parameters:
      azureContainerInfo - the azureContainerInfo value to set.
      Returns:
      the ShareProperties object itself.
    • accessProtocol

      public ShareAccessProtocol accessProtocol()
      Get the accessProtocol property: Access protocol to be used by the share.
      Returns:
      the accessProtocol value.
    • withAccessProtocol

      public ShareProperties withAccessProtocol(ShareAccessProtocol accessProtocol)
      Set the accessProtocol property: Access protocol to be used by the share.
      Parameters:
      accessProtocol - the accessProtocol value to set.
      Returns:
      the ShareProperties object itself.
    • userAccessRights

      public List<UserAccessRight> userAccessRights()
      Get the userAccessRights property: Mapping of users and corresponding access rights on the share (required for SMB protocol).
      Returns:
      the userAccessRights value.
    • withUserAccessRights

      public ShareProperties withUserAccessRights(List<UserAccessRight> userAccessRights)
      Set the userAccessRights property: Mapping of users and corresponding access rights on the share (required for SMB protocol).
      Parameters:
      userAccessRights - the userAccessRights value to set.
      Returns:
      the ShareProperties object itself.
    • clientAccessRights

      public List<ClientAccessRight> clientAccessRights()
      Get the clientAccessRights property: List of IP addresses and corresponding access rights on the share(required for NFS protocol).
      Returns:
      the clientAccessRights value.
    • withClientAccessRights

      public ShareProperties withClientAccessRights(List<ClientAccessRight> clientAccessRights)
      Set the clientAccessRights property: List of IP addresses and corresponding access rights on the share(required for NFS protocol).
      Parameters:
      clientAccessRights - the clientAccessRights value to set.
      Returns:
      the ShareProperties object itself.
    • refreshDetails

      public RefreshDetails refreshDetails()
      Get the refreshDetails property: Details of the refresh job on this share.
      Returns:
      the refreshDetails value.
    • withRefreshDetails

      public ShareProperties withRefreshDetails(RefreshDetails refreshDetails)
      Set the refreshDetails property: Details of the refresh job on this share.
      Parameters:
      refreshDetails - the refreshDetails value to set.
      Returns:
      the ShareProperties object itself.
    • shareMappings

      public List<MountPointMap> shareMappings()
      Get the shareMappings property: Share mount point to the role.
      Returns:
      the shareMappings value.
    • dataPolicy

      public DataPolicy dataPolicy()
      Get the dataPolicy property: Data policy of the share.
      Returns:
      the dataPolicy value.
    • withDataPolicy

      public ShareProperties withDataPolicy(DataPolicy dataPolicy)
      Set the dataPolicy property: Data policy of the share.
      Parameters:
      dataPolicy - the dataPolicy value to set.
      Returns:
      the ShareProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.