Class ShareSetPropertiesOptions

java.lang.Object
com.azure.storage.file.share.options.ShareSetPropertiesOptions

public class ShareSetPropertiesOptions extends Object
Extended options that may be passed when setting properties on a share.
  • Constructor Details

    • ShareSetPropertiesOptions

      public ShareSetPropertiesOptions()
  • Method Details

    • getAccessTier

      public ShareAccessTier getAccessTier()
      Returns:
      ShareAccessTier
    • setAccessTier

      public ShareSetPropertiesOptions setAccessTier(ShareAccessTier accessTier)
      Parameters:
      accessTier - ShareAccessTier.
      Returns:
      The updated options.
    • getQuotaInGb

      public Integer getQuotaInGb()
      Returns:
      Size in GB to limit the share's growth.
    • setQuotaInGb

      public ShareSetPropertiesOptions setQuotaInGb(Integer quotaInGb)
      Parameters:
      quotaInGb - Size in GB to limit the share's growth.
      Returns:
      The updated options.
    • getRootSquash

      public ShareRootSquash getRootSquash()
      Returns:
      The root squash to set for the share. Only valid for NFS.
    • setRootSquash

      public ShareSetPropertiesOptions setRootSquash(ShareRootSquash rootSquash)
      Parameters:
      rootSquash - The root squash to set for the share. Only valid for NFS.
      Returns:
      The updated options.
    • getRequestConditions

      public ShareRequestConditions getRequestConditions()
      Returns:
      ShareRequestConditions.
    • setRequestConditions

      public ShareSetPropertiesOptions setRequestConditions(ShareRequestConditions requestConditions)
      Parameters:
      requestConditions - ShareRequestConditions.
      Returns:
      The updated options.
    • isSnapshotVirtualDirectoryAccessEnabled

      public Boolean isSnapshotVirtualDirectoryAccessEnabled()
      Get the enableSnapshotVirtualDirectoryAccess property: The EnableSnapshotVirtualDirectoryAccess property. Optional. Supported in version 2023-08-03 and above. Only applicable for premium file storage accounts. Specifies whether the snapshot virtual directory should be accessible at the root of share mount point when NFS is enabled. If not specified, the default is true.
      Returns:
      the enableSnapshotVirtualDirectoryAccess value.
    • setSnapshotVirtualDirectoryAccessEnabled

      public ShareSetPropertiesOptions setSnapshotVirtualDirectoryAccessEnabled(Boolean snapshotVirtualDirectoryAccessEnabled)
      Set the enableSnapshotVirtualDirectoryAccess property: The EnableSnapshotVirtualDirectoryAccess property. Optional. Supported in version 2023-08-03 and above. Only applicable for premium file storage accounts. Specifies whether the snapshot virtual directory should be accessible at the root of share mount point when NFS is enabled. If not specified, the default is true.
      Parameters:
      snapshotVirtualDirectoryAccessEnabled - the enableSnapshotVirtualDirectoryAccess value to set.
      Returns:
      the ShareSetPropertiesOptions object itself.
    • isPaidBurstingEnabled

      public Boolean isPaidBurstingEnabled()
      Get the enablePaidBursting property: Optional. Supported in version 2023-11-03 and above. Only applicable for premium file storage accounts. This property enables paid bursting on premium file storage accounts.
      Returns:
      the enablePaidBursting value.
    • setPaidBurstingEnabled

      public ShareSetPropertiesOptions setPaidBurstingEnabled(Boolean enablePaidBursting)
      Set the enablePaidBursting property: Optional. Supported in version 2023-11-03 and above. Only applicable for premium file storage accounts. This property enables paid bursting on premium file storage accounts.
      Parameters:
      enablePaidBursting - the enablePaidBursting value to set.
      Returns:
      the ShareSetPropertiesOptions object itself.
    • getPaidBurstingMaxIops

      public Long getPaidBurstingMaxIops()
      Get the paidBurstingMaxIops property: Optional. Supported in version 2023-11-03 and above. Only applicable for premium file storage accounts. Default if not specified is the maximum IOPS the file share can support. Current maximum for a file share is 102,400 IOPS.
      Returns:
      the paidBurstingMaxIops value.
    • setPaidBurstingMaxIops

      public ShareSetPropertiesOptions setPaidBurstingMaxIops(Long paidBurstingMaxIops)
      Set the paidBurstingMaxIops property: Optional. Supported in version 2023-11-03 and above. Only applicable for premium file storage accounts. Default if not specified is the maximum IOPS the file share can support. Current maximum for a file share is 102,400 IOPS.
      Parameters:
      paidBurstingMaxIops - the paidBurstingMaxIops value to set.
      Returns:
      the ShareSetPropertiesOptions object itself.
    • getPaidBurstingMaxBandwidthMibps

      public Long getPaidBurstingMaxBandwidthMibps()
      Get the paidBurstingMaxBandwidthMibps property: Optional. Supported in version 2023-11-03 and above. Only applicable for premium file storage accounts. Default if not specified is the maximum throughput the file share can support. Current maximum for a file share is 10,340 MiB/sec.
      Returns:
      the paidBurstingMaxBandwidthMibps value.
    • setPaidBurstingMaxBandwidthMibps

      public ShareSetPropertiesOptions setPaidBurstingMaxBandwidthMibps(Long paidBurstingMaxBandwidthMibps)
      Set the paidBurstingMaxBandwidthMibps property: Optional. Supported in version 2023-11-03 and above. Only applicable for premium file storage accounts. Default if not specified is the maximum throughput the file share can support. Current maximum for a file share is 10,340 MiB/sec.
      Parameters:
      paidBurstingMaxBandwidthMibps - the paidBurstingMaxBandwidthMibps value to set.
      Returns:
      the ShareSetPropertiesOptions object itself.