Class ShareProperties
java.lang.Object
com.azure.storage.file.share.models.ShareProperties
Properties of a share.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the accessTier property: The accessTier property.Get the accessTierChangeTime property: The accessTierChangeTime property.Get the accessTierTransitionState property: The accessTierTransitionState property.Get the deletedTime property: The deletedTime property.getETag()
Get the eTag property: The eTag property.Get the lastModified property: The lastModified property.Get the leaseDuration property: Possible values include: 'infinite', 'fixed'.Get the leaseState property: Possible values include: 'available', 'leased', 'expired', 'breaking', 'broken'.Get the leaseStatus property: Possible values include: 'locked', 'unlocked'.Get the metadata property: The metadata property.Get the nextAllowedQuotaDowngradeTime property: The nextAllowedQuotaDowngradeTime property.Get the enabledProtocols property: The enabledProtocols property.Get the provisionedBandwidthMiBps property: The ProvisionedBandwidthMiBps property.Deprecated.Deprecated.Please usegetProvisionedBandwidthMiBps()
Get the provisionedIops property: The provisionedIops property.int
getQuota()
Get the quota property: The quota property.Get the remainingRetentionDays property: The remainingRetentionDays property.Get the rootSquash property: Possible values include: 'NoRootSquash', 'RootSquash', 'AllSquash'.setAccessTier
(String accessTier) Set the accessTier property: The accessTier property.setAccessTierChangeTime
(OffsetDateTime accessTierChangeTime) Set the accessTierChangeTime property: The accessTierChangeTime property.setAccessTierTransitionState
(String accessTierTransitionState) Set the accessTierTransitionState property: The accessTierTransitionState property.setDeletedTime
(OffsetDateTime deletedTime) Set the deletedTime property: The deletedTime property.Set the eTag property: The eTag property.setLastModified
(OffsetDateTime lastModified) Set the lastModified property: The lastModified property.setLeaseDuration
(LeaseDurationType leaseDuration) Set the leaseDuration property: Possible values include: 'infinite', 'fixed'.setLeaseState
(LeaseStateType leaseState) Set the leaseState property: Possible values include: 'available', 'leased', 'expired', 'breaking', 'broken'.setLeaseStatus
(LeaseStatusType leaseStatus) Set the leaseStatus property: Possible values include: 'locked', 'unlocked'.setMetadata
(Map<String, String> metadata) Set the metadata property: The metadata property.setNextAllowedQuotaDowngradeTime
(OffsetDateTime nextAllowedQuotaDowngradeTime) Set the nextAllowedQuotaDowngradeTime property: The nextAllowedQuotaDowngradeTime property.setProtocols
(ShareProtocols protocols) Set the enabledProtocols property: The enabledProtocols property.setProvisionedBandwidthMiBps
(Integer provisionedBandwidthMiBps) Set the provisionedBandwidthMiBps property: The ProvisionedBandwidthMiBps property.setProvisionedEgressMBps
(Integer provisionedEgressMBps) Deprecated.Please usesetProvisionedBandwidthMiBps(Integer)
()}setProvisionedIngressMBps
(Integer provisionedIngressMBps) Deprecated.Please usesetProvisionedBandwidthMiBps(Integer)
()}setProvisionedIops
(Integer provisionedIops) Set the provisionedIops property: The provisionedIops property.setQuota
(int quota) Set the quota property: The quota property.setRemainingRetentionDays
(Integer remainingRetentionDays) Set the remainingRetentionDays property: The remainingRetentionDays property.setRootSquash
(ShareRootSquash rootSquash) Set the rootSquash property: Possible values include: 'NoRootSquash', 'RootSquash', 'AllSquash'.
-
Constructor Details
-
ShareProperties
public ShareProperties()
-
-
Method Details
-
getLastModified
Get the lastModified property: The lastModified property.- Returns:
- the lastModified value.
-
setLastModified
Set the lastModified property: The lastModified property.- Parameters:
lastModified
- the lastModified value to set.- Returns:
- the ShareProperties object itself.
-
getETag
Get the eTag property: The eTag property.- Returns:
- the eTag value.
-
setETag
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
Set the quota property: The quota property.- Parameters:
quota
- the quota value to set.- Returns:
- the ShareProperties object itself.
-
getProvisionedIops
Get the provisionedIops property: The provisionedIops property.- Returns:
- the provisionedIops value.
-
setProvisionedIops
Set the provisionedIops property: The provisionedIops property.- Parameters:
provisionedIops
- the provisionedIops value to set.- Returns:
- the ShareProperties object itself.
-
getProvisionedIngressMBps
Deprecated.Please usegetProvisionedBandwidthMiBps()
Get the provisionedIngressMBps property: The provisionedIngressMBps property.- Returns:
- the provisionedIngressMBps value.
-
setProvisionedIngressMBps
Deprecated.Please usesetProvisionedBandwidthMiBps(Integer)
()}Set the provisionedIngressMBps property: The provisionedIngressMBps property.- Parameters:
provisionedIngressMBps
- the provisionedIngressMBps value to set.- Returns:
- the ShareProperties object itself.
-
getProvisionedEgressMBps
Deprecated.Please usegetProvisionedBandwidthMiBps()
Get the provisionedEgressMBps property: The provisionedEgressMBps property.- Returns:
- the provisionedEgressMBps value.
-
setProvisionedEgressMBps
Deprecated.Please usesetProvisionedBandwidthMiBps(Integer)
()}Set the provisionedEgressMBps property: The provisionedEgressMBps property.- Parameters:
provisionedEgressMBps
- the provisionedEgressMBps value to set.- Returns:
- the ShareProperties object itself.
-
getProvisionedBandwidthMiBps
Get the provisionedBandwidthMiBps property: The ProvisionedBandwidthMiBps property.- Returns:
- the provisionedBandwidthMiBps value.
-
setProvisionedBandwidthMiBps
Set the provisionedBandwidthMiBps property: The ProvisionedBandwidthMiBps property.- Parameters:
provisionedBandwidthMiBps
- the provisionedBandwidthMiBps value to set.- Returns:
- the ShareProperties object itself.
-
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
Get the deletedTime property: The deletedTime property.- Returns:
- the deletedTime value.
-
setDeletedTime
Set the deletedTime property: The deletedTime property.- Parameters:
deletedTime
- the deletedTime value to set.- Returns:
- the ShareProperties object itself.
-
getRemainingRetentionDays
Get the remainingRetentionDays property: The remainingRetentionDays property.- Returns:
- the remainingRetentionDays value.
-
setRemainingRetentionDays
Set the remainingRetentionDays property: The remainingRetentionDays property.- Parameters:
remainingRetentionDays
- the remainingRetentionDays value to set.- Returns:
- the ShareProperties object itself.
-
getAccessTier
Get the accessTier property: The accessTier property.- Returns:
- the accessTier value.
-
setAccessTier
Set the accessTier property: The accessTier property.- Parameters:
accessTier
- the accessTier value to set.- Returns:
- the ShareProperties object itself.
-
getAccessTierChangeTime
Get the accessTierChangeTime property: The accessTierChangeTime property.- Returns:
- the accessTierChangeTime value.
-
setAccessTierChangeTime
Set the accessTierChangeTime property: The accessTierChangeTime property.- Parameters:
accessTierChangeTime
- the accessTierChangeTime value to set.- Returns:
- the ShareProperties object itself.
-
getAccessTierTransitionState
Get the accessTierTransitionState property: The accessTierTransitionState property.- Returns:
- the accessTierTransitionState value.
-
setAccessTierTransitionState
Set the accessTierTransitionState property: The accessTierTransitionState property.- Parameters:
accessTierTransitionState
- the accessTierTransitionState value to set.- Returns:
- the ShareProperties object itself.
-
getLeaseStatus
Get the leaseStatus property: Possible values include: 'locked', 'unlocked'.- Returns:
- the leaseStatus value.
-
getLeaseState
Get the leaseState property: Possible values include: 'available', 'leased', 'expired', 'breaking', 'broken'.- Returns:
- the leaseState value.
-
getLeaseDuration
Get the leaseDuration property: Possible values include: 'infinite', 'fixed'.- Returns:
- the leaseDuration value.
-
getProtocols
Get the enabledProtocols property: The enabledProtocols property.- Returns:
- the enabledProtocols value.
-
getRootSquash
Get the rootSquash property: Possible values include: 'NoRootSquash', 'RootSquash', 'AllSquash'.- Returns:
- the rootSquash value.
-
getMetadata
Get the metadata property: The metadata property.- Returns:
- the metadata value.
-
setMetadata
Set the metadata property: The metadata property.- Parameters:
metadata
- the metadata value to set.- Returns:
- the ShareProperties object itself.
-
getProvisionedBandwidthMiBps()