Class ShareProperties

java.lang.Object
com.azure.storage.file.share.models.ShareProperties

public final class ShareProperties extends Object
Properties of a share.
  • Constructor Details

    • ShareProperties

      public ShareProperties()
  • Method Details

    • getLastModified

      public OffsetDateTime getLastModified()
      Get the lastModified property: The lastModified property.
      Returns:
      the lastModified value.
    • setLastModified

      public ShareProperties setLastModified(OffsetDateTime lastModified)
      Set the lastModified property: The lastModified property.
      Parameters:
      lastModified - the lastModified value to set.
      Returns:
      the ShareProperties object itself.
    • getETag

      public String getETag()
      Get the eTag property: The eTag property.
      Returns:
      the eTag value.
    • setETag

      public ShareProperties setETag(String eTag)
      Set the eTag property: The eTag property.
      Parameters:
      eTag - the eTag value to set.
      Returns:
      the ShareProperties object itself.
    • getQuota

      public int getQuota()
      Get the quota property: The quota property.
      Returns:
      the quota value.
    • setQuota

      public ShareProperties setQuota(int quota)
      Set the quota property: The quota property.
      Parameters:
      quota - the quota value to set.
      Returns:
      the ShareProperties object itself.
    • getProvisionedIops

      public Integer getProvisionedIops()
      Get the provisionedIops property: The provisionedIops property.
      Returns:
      the provisionedIops value.
    • setProvisionedIops

      public ShareProperties setProvisionedIops(Integer provisionedIops)
      Set the provisionedIops property: The provisionedIops property.
      Parameters:
      provisionedIops - the provisionedIops value to set.
      Returns:
      the ShareProperties object itself.
    • getProvisionedIngressMBps

      @Deprecated public Integer getProvisionedIngressMBps()
      Deprecated.
      Get the provisionedIngressMBps property: The provisionedIngressMBps property.
      Returns:
      the provisionedIngressMBps value.
    • setProvisionedIngressMBps

      @Deprecated public ShareProperties setProvisionedIngressMBps(Integer provisionedIngressMBps)
      Deprecated.
      Set the provisionedIngressMBps property: The provisionedIngressMBps property.
      Parameters:
      provisionedIngressMBps - the provisionedIngressMBps value to set.
      Returns:
      the ShareProperties object itself.
    • getProvisionedEgressMBps

      @Deprecated public Integer getProvisionedEgressMBps()
      Deprecated.
      Get the provisionedEgressMBps property: The provisionedEgressMBps property.
      Returns:
      the provisionedEgressMBps value.
    • setProvisionedEgressMBps

      @Deprecated public ShareProperties setProvisionedEgressMBps(Integer provisionedEgressMBps)
      Deprecated.
      Set the provisionedEgressMBps property: The provisionedEgressMBps property.
      Parameters:
      provisionedEgressMBps - the provisionedEgressMBps value to set.
      Returns:
      the ShareProperties object itself.
    • getProvisionedBandwidthMiBps

      public Integer getProvisionedBandwidthMiBps()
      Get the provisionedBandwidthMiBps property: The ProvisionedBandwidthMiBps property.
      Returns:
      the provisionedBandwidthMiBps value.
    • setProvisionedBandwidthMiBps

      public ShareProperties setProvisionedBandwidthMiBps(Integer provisionedBandwidthMiBps)
      Set the provisionedBandwidthMiBps property: The ProvisionedBandwidthMiBps property.
      Parameters:
      provisionedBandwidthMiBps - the provisionedBandwidthMiBps value to set.
      Returns:
      the ShareProperties object itself.
    • getNextAllowedQuotaDowngradeTime

      public OffsetDateTime getNextAllowedQuotaDowngradeTime()
      Get the nextAllowedQuotaDowngradeTime property: The nextAllowedQuotaDowngradeTime property.
      Returns:
      the nextAllowedQuotaDowngradeTime value.
    • setNextAllowedQuotaDowngradeTime

      public ShareProperties setNextAllowedQuotaDowngradeTime(OffsetDateTime nextAllowedQuotaDowngradeTime)
      Set the nextAllowedQuotaDowngradeTime property: The nextAllowedQuotaDowngradeTime property.
      Parameters:
      nextAllowedQuotaDowngradeTime - the nextAllowedQuotaDowngradeTime value to set.
      Returns:
      the ShareProperties object itself.
    • getDeletedTime

      public OffsetDateTime getDeletedTime()
      Get the deletedTime property: The deletedTime property.
      Returns:
      the deletedTime value.
    • setDeletedTime

      public ShareProperties setDeletedTime(OffsetDateTime deletedTime)
      Set the deletedTime property: The deletedTime property.
      Parameters:
      deletedTime - the deletedTime value to set.
      Returns:
      the ShareProperties object itself.
    • getRemainingRetentionDays

      public Integer getRemainingRetentionDays()
      Get the remainingRetentionDays property: The remainingRetentionDays property.
      Returns:
      the remainingRetentionDays value.
    • setRemainingRetentionDays

      public ShareProperties setRemainingRetentionDays(Integer remainingRetentionDays)
      Set the remainingRetentionDays property: The remainingRetentionDays property.
      Parameters:
      remainingRetentionDays - the remainingRetentionDays value to set.
      Returns:
      the ShareProperties object itself.
    • getAccessTier

      public String getAccessTier()
      Get the accessTier property: The accessTier property.
      Returns:
      the accessTier value.
    • setAccessTier

      public ShareProperties setAccessTier(String accessTier)
      Set the accessTier property: The accessTier property.
      Parameters:
      accessTier - the accessTier value to set.
      Returns:
      the ShareProperties object itself.
    • getAccessTierChangeTime

      public OffsetDateTime getAccessTierChangeTime()
      Get the accessTierChangeTime property: The accessTierChangeTime property.
      Returns:
      the accessTierChangeTime value.
    • setAccessTierChangeTime

      public ShareProperties setAccessTierChangeTime(OffsetDateTime accessTierChangeTime)
      Set the accessTierChangeTime property: The accessTierChangeTime property.
      Parameters:
      accessTierChangeTime - the accessTierChangeTime value to set.
      Returns:
      the ShareProperties object itself.
    • getAccessTierTransitionState

      public String getAccessTierTransitionState()
      Get the accessTierTransitionState property: The accessTierTransitionState property.
      Returns:
      the accessTierTransitionState value.
    • setAccessTierTransitionState

      public ShareProperties setAccessTierTransitionState(String accessTierTransitionState)
      Set the accessTierTransitionState property: The accessTierTransitionState property.
      Parameters:
      accessTierTransitionState - the accessTierTransitionState value to set.
      Returns:
      the ShareProperties object itself.
    • getLeaseStatus

      public LeaseStatusType getLeaseStatus()
      Get the leaseStatus property: Possible values include: 'locked', 'unlocked'.
      Returns:
      the leaseStatus value.
    • setLeaseStatus

      public ShareProperties setLeaseStatus(LeaseStatusType leaseStatus)
      Set the leaseStatus property: Possible values include: 'locked', 'unlocked'.
      Parameters:
      leaseStatus - the leaseStatus value to set.
      Returns:
      the ShareProperties object itself.
    • getLeaseState

      public LeaseStateType getLeaseState()
      Get the leaseState property: Possible values include: 'available', 'leased', 'expired', 'breaking', 'broken'.
      Returns:
      the leaseState value.
    • setLeaseState

      public ShareProperties setLeaseState(LeaseStateType leaseState)
      Set the leaseState property: Possible values include: 'available', 'leased', 'expired', 'breaking', 'broken'.
      Parameters:
      leaseState - the leaseState value to set.
      Returns:
      the ShareProperties object itself.
    • getLeaseDuration

      public LeaseDurationType getLeaseDuration()
      Get the leaseDuration property: Possible values include: 'infinite', 'fixed'.
      Returns:
      the leaseDuration value.
    • setLeaseDuration

      public ShareProperties setLeaseDuration(LeaseDurationType leaseDuration)
      Set the leaseDuration property: Possible values include: 'infinite', 'fixed'.
      Parameters:
      leaseDuration - the leaseDuration value to set.
      Returns:
      the ShareProperties object itself.
    • getProtocols

      public ShareProtocols getProtocols()
      Get the enabledProtocols property: The enabledProtocols property.
      Returns:
      the enabledProtocols value.
    • setProtocols

      public ShareProperties setProtocols(ShareProtocols protocols)
      Set the enabledProtocols property: The enabledProtocols property.
      Parameters:
      protocols - the enabledProtocols value to set.
      Returns:
      the ShareProperties object itself.
    • getRootSquash

      public ShareRootSquash getRootSquash()
      Get the rootSquash property: Possible values include: 'NoRootSquash', 'RootSquash', 'AllSquash'.
      Returns:
      the rootSquash value.
    • setRootSquash

      public ShareProperties setRootSquash(ShareRootSquash rootSquash)
      Set the rootSquash property: Possible values include: 'NoRootSquash', 'RootSquash', 'AllSquash'.
      Parameters:
      rootSquash - the rootSquash value to set.
      Returns:
      the ShareProperties object itself.
    • getMetadata

      public Map<String,String> getMetadata()
      Get the metadata property: The metadata property.
      Returns:
      the metadata value.
    • setMetadata

      public ShareProperties setMetadata(Map<String,String> metadata)
      Set the metadata property: The metadata property.
      Parameters:
      metadata - the metadata value to set.
      Returns:
      the ShareProperties object itself.