Class ShareProperties
- java.lang.Object
-
- com.azure.storage.file.share.models.ShareProperties
-
public final class ShareProperties extends Object
Properties of a share.
-
-
Constructor Summary
Constructors Constructor Description ShareProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAccessTier()Get the accessTier property: The accessTier property.OffsetDateTimegetAccessTierChangeTime()Get the accessTierChangeTime property: The accessTierChangeTime property.StringgetAccessTierTransitionState()Get the accessTierTransitionState property: The accessTierTransitionState property.OffsetDateTimegetDeletedTime()Get the deletedTime property: The deletedTime property.StringgetETag()Get the eTag property: The eTag property.OffsetDateTimegetLastModified()Get the lastModified property: The lastModified property.LeaseDurationTypegetLeaseDuration()Get the leaseDuration property: Possible values include: 'infinite', 'fixed'.LeaseStateTypegetLeaseState()Get the leaseState property: Possible values include: 'available', 'leased', 'expired', 'breaking', 'broken'.LeaseStatusTypegetLeaseStatus()Get the leaseStatus property: Possible values include: 'locked', 'unlocked'.Map<String,String>getMetadata()Get the metadata property: The metadata property.OffsetDateTimegetNextAllowedQuotaDowngradeTime()Get the nextAllowedQuotaDowngradeTime property: The nextAllowedQuotaDowngradeTime property.ShareProtocolsgetProtocols()Get the enabledProtocols property: The enabledProtocols property.IntegergetProvisionedEgressMBps()Get the provisionedEgressMBps property: The provisionedEgressMBps property.IntegergetProvisionedIngressMBps()Get the provisionedIngressMBps property: The provisionedIngressMBps property.IntegergetProvisionedIops()Get the provisionedIops property: The provisionedIops property.intgetQuota()Get the quota property: The quota property.IntegergetRemainingRetentionDays()Get the remainingRetentionDays property: The remainingRetentionDays property.ShareRootSquashgetRootSquash()Get the rootSquash property: Possible values include: 'NoRootSquash', 'RootSquash', 'AllSquash'.SharePropertiessetAccessTier(String accessTier)Set the accessTier property: The accessTier property.SharePropertiessetAccessTierChangeTime(OffsetDateTime accessTierChangeTime)Set the accessTierChangeTime property: The accessTierChangeTime property.SharePropertiessetAccessTierTransitionState(String accessTierTransitionState)Set the accessTierTransitionState property: The accessTierTransitionState property.SharePropertiessetDeletedTime(OffsetDateTime deletedTime)Set the deletedTime property: The deletedTime property.SharePropertiessetETag(String eTag)Set the eTag property: The eTag property.SharePropertiessetLastModified(OffsetDateTime lastModified)Set the lastModified property: The lastModified property.SharePropertiessetLeaseDuration(LeaseDurationType leaseDuration)Set the leaseDuration property: Possible values include: 'infinite', 'fixed'.SharePropertiessetLeaseState(LeaseStateType leaseState)Set the leaseState property: Possible values include: 'available', 'leased', 'expired', 'breaking', 'broken'.SharePropertiessetLeaseStatus(LeaseStatusType leaseStatus)Set the leaseStatus property: Possible values include: 'locked', 'unlocked'.SharePropertiessetMetadata(Map<String,String> metadata)Set the metadata property: The metadata property.SharePropertiessetNextAllowedQuotaDowngradeTime(OffsetDateTime nextAllowedQuotaDowngradeTime)Set the nextAllowedQuotaDowngradeTime property: The nextAllowedQuotaDowngradeTime property.SharePropertiessetProtocols(ShareProtocols protocols)Set the enabledProtocols property: The enabledProtocols property.SharePropertiessetProvisionedEgressMBps(Integer provisionedEgressMBps)Set the provisionedEgressMBps property: The provisionedEgressMBps property.SharePropertiessetProvisionedIngressMBps(Integer provisionedIngressMBps)Set the provisionedIngressMBps property: The provisionedIngressMBps property.SharePropertiessetProvisionedIops(Integer provisionedIops)Set the provisionedIops property: The provisionedIops property.SharePropertiessetQuota(int quota)Set the quota property: The quota property.SharePropertiessetRemainingRetentionDays(Integer remainingRetentionDays)Set the remainingRetentionDays property: The remainingRetentionDays property.SharePropertiessetRootSquash(ShareRootSquash rootSquash)Set the rootSquash property: Possible values include: 'NoRootSquash', 'RootSquash', 'AllSquash'.
-
-
-
Method Detail
-
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
public Integer getProvisionedIngressMBps()
Get the provisionedIngressMBps property: The provisionedIngressMBps property.- Returns:
- the provisionedIngressMBps value.
-
setProvisionedIngressMBps
public ShareProperties setProvisionedIngressMBps(Integer provisionedIngressMBps)
Set the provisionedIngressMBps property: The provisionedIngressMBps property.- Parameters:
provisionedIngressMBps- the provisionedIngressMBps value to set.- Returns:
- the ShareProperties object itself.
-
getProvisionedEgressMBps
public Integer getProvisionedEgressMBps()
Get the provisionedEgressMBps property: The provisionedEgressMBps property.- Returns:
- the provisionedEgressMBps value.
-
setProvisionedEgressMBps
public ShareProperties setProvisionedEgressMBps(Integer provisionedEgressMBps)
Set the provisionedEgressMBps property: The provisionedEgressMBps property.- Parameters:
provisionedEgressMBps- the provisionedEgressMBps 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.
-
-