Package com.azure.storage.blob.models
Class BlobItemProperties
- java.lang.Object
-
- com.azure.storage.blob.models.BlobItemProperties
-
public final class BlobItemProperties extends Object
Properties of a blob.
-
-
Constructor Summary
Constructors Constructor Description BlobItemProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessTiergetAccessTier()Get the accessTier property: Possible values include: 'P4', 'P6', 'P10', 'P15', 'P20', 'P30', 'P40', 'P50', 'P60', 'P70', 'P80', 'Hot', 'Cool', 'Archive'.OffsetDateTimegetAccessTierChangeTime()Get the accessTierChangeTime property: The accessTierChangeTime property.ArchiveStatusgetArchiveStatus()Get the archiveStatus property: Possible values include: 'rehydrate-pending-to-hot', 'rehydrate-pending-to-cool'.LonggetBlobSequenceNumber()Get the blobSequenceNumber property: The blobSequenceNumber property.BlobTypegetBlobType()Get the blobType property: Possible values include: 'BlockBlob', 'PageBlob', 'AppendBlob'.StringgetCacheControl()Get the cacheControl property: The cacheControl property.StringgetContentDisposition()Get the contentDisposition property: The contentDisposition property.StringgetContentEncoding()Get the contentEncoding property: The contentEncoding property.StringgetContentLanguage()Get the contentLanguage property: The contentLanguage property.LonggetContentLength()Get the contentLength property: Size in bytes.byte[]getContentMd5()Get the contentMd5 property: The contentMd5 property.StringgetContentType()Get the contentType property: The contentType property.OffsetDateTimegetCopyCompletionTime()Get the copyCompletionTime property: The copyCompletionTime property.StringgetCopyId()Get the copyId property: The copyId property.StringgetCopyProgress()Get the copyProgress property: The copyProgress property.StringgetCopySource()Get the copySource property: The copySource property.CopyStatusTypegetCopyStatus()Get the copyStatus property: Possible values include: 'pending', 'success', 'aborted', 'failed'.StringgetCopyStatusDescription()Get the copyStatusDescription property: The copyStatusDescription property.OffsetDateTimegetCreationTime()Get the creationTime property: The creationTime property.StringgetCustomerProvidedKeySha256()Get the customerProvidedKeySha256 property: The customerProvidedKeySha256 property.OffsetDateTimegetDeletedTime()Get the deletedTime property: The deletedTime property.StringgetDestinationSnapshot()Get the destinationSnapshot property: The destinationSnapshot property.StringgetEncryptionScope()Get the encryptionScope property: The name of the encryption scope under which the blob is encrypted.StringgetETag()Get the eTag property: The eTag property.OffsetDateTimegetExpiryTime()Get the expiryTime property: The Expiry-Time property.BlobImmutabilityPolicygetImmutabilityPolicy()Get the immutabilityPolicy property: The ImmutabilityPolicyUntilDate and ImmutabilityPolicyMode property.OffsetDateTimegetLastAccessedTime()Get the lastAccessedTime property: The lastAccessedTime 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'.RehydratePrioritygetRehydratePriority()Get the rehydratePriority property: Possible values include: 'High', 'Standard'.IntegergetRemainingRetentionDays()Get the remainingRetentionDays property: The remainingRetentionDays property.IntegergetTagCount()Get the tagCount property: The tagCount property.BooleanhasLegalHold()Get the hasLegalHold property: The LegalHold property.BooleanisAccessTierInferred()Get the accessTierInferred property: The accessTierInferred property.BooleanisIncrementalCopy()Get the incrementalCopy property: The incrementalCopy property.BooleanisSealed()Get the sealed property: The sealed property.BooleanisServerEncrypted()Get the serverEncrypted property: The serverEncrypted property.BlobItemPropertiessetAccessTier(AccessTier accessTier)Set the accessTier property: Possible values include: 'P4', 'P6', 'P10', 'P15', 'P20', 'P30', 'P40', 'P50', 'P60', 'P70', 'P80', 'Hot', 'Cool', 'Archive'.BlobItemPropertiessetAccessTierChangeTime(OffsetDateTime accessTierChangeTime)Set the accessTierChangeTime property: The accessTierChangeTime property.BlobItemPropertiessetAccessTierInferred(Boolean accessTierInferred)Set the accessTierInferred property: The accessTierInferred property.BlobItemPropertiessetArchiveStatus(ArchiveStatus archiveStatus)Set the archiveStatus property: Possible values include: 'rehydrate-pending-to-hot', 'rehydrate-pending-to-cool'.BlobItemPropertiessetBlobSequenceNumber(Long blobSequenceNumber)Set the blobSequenceNumber property: The blobSequenceNumber property.BlobItemPropertiessetBlobType(BlobType blobType)Set the blobType property: Possible values include: 'BlockBlob', 'PageBlob', 'AppendBlob'.BlobItemPropertiessetCacheControl(String cacheControl)Set the cacheControl property: The cacheControl property.BlobItemPropertiessetContentDisposition(String contentDisposition)Set the contentDisposition property: The contentDisposition property.BlobItemPropertiessetContentEncoding(String contentEncoding)Set the contentEncoding property: The contentEncoding property.BlobItemPropertiessetContentLanguage(String contentLanguage)Set the contentLanguage property: The contentLanguage property.BlobItemPropertiessetContentLength(Long contentLength)Set the contentLength property: Size in bytes.BlobItemPropertiessetContentMd5(byte[] contentMd5)Set the contentMd5 property: The contentMd5 property.BlobItemPropertiessetContentType(String contentType)Set the contentType property: The contentType property.BlobItemPropertiessetCopyCompletionTime(OffsetDateTime copyCompletionTime)Set the copyCompletionTime property: The copyCompletionTime property.BlobItemPropertiessetCopyId(String copyId)Set the copyId property: The copyId property.BlobItemPropertiessetCopyProgress(String copyProgress)Set the copyProgress property: The copyProgress property.BlobItemPropertiessetCopySource(String copySource)Set the copySource property: The copySource property.BlobItemPropertiessetCopyStatus(CopyStatusType copyStatus)Set the copyStatus property: Possible values include: 'pending', 'success', 'aborted', 'failed'.BlobItemPropertiessetCopyStatusDescription(String copyStatusDescription)Set the copyStatusDescription property: The copyStatusDescription property.BlobItemPropertiessetCreationTime(OffsetDateTime creationTime)Set the creationTime property: The creationTime property.BlobItemPropertiessetCustomerProvidedKeySha256(String customerProvidedKeySha256)Set the customerProvidedKeySha256 property: The customerProvidedKeySha256 property.BlobItemPropertiessetDeletedTime(OffsetDateTime deletedTime)Set the deletedTime property: The deletedTime property.BlobItemPropertiessetDestinationSnapshot(String destinationSnapshot)Set the destinationSnapshot property: The destinationSnapshot property.BlobItemPropertiessetEncryptionScope(String encryptionScope)Set the encryptionScope property: The name of the encryption scope under which the blob is encrypted.BlobItemPropertiessetETag(String eTag)Set the eTag property: The eTag property.BlobItemPropertiessetExpiryTime(OffsetDateTime expiryTime)Set the expiryTime property: The Expiry-Time property.BlobItemPropertiessetHasLegalHold(Boolean hasLegalHold)Set the hasLegalHold property: The LegalHold property.BlobItemPropertiessetImmutabilityPolicy(BlobImmutabilityPolicy immutabilityPolicy)Set the immutabilityPolicy property: The ImmutabilityPolicyUntilDate and ImmutabilityPolicyMode property.BlobItemPropertiessetIncrementalCopy(Boolean incrementalCopy)Set the incrementalCopy property: The incrementalCopy property.BlobItemPropertiessetLastAccessedTime(OffsetDateTime lastAccessedTime)Set the lastAccessedTime property: The lastAccessedTime property.BlobItemPropertiessetLastModified(OffsetDateTime lastModified)Set the lastModified property: The lastModified property.BlobItemPropertiessetLeaseDuration(LeaseDurationType leaseDuration)Set the leaseDuration property: Possible values include: 'infinite', 'fixed'.BlobItemPropertiessetLeaseState(LeaseStateType leaseState)Set the leaseState property: Possible values include: 'available', 'leased', 'expired', 'breaking', 'broken'.BlobItemPropertiessetLeaseStatus(LeaseStatusType leaseStatus)Set the leaseStatus property: Possible values include: 'locked', 'unlocked'.BlobItemPropertiessetRehydratePriority(RehydratePriority rehydratePriority)Set the rehydratePriority property: Possible values include: 'High', 'Standard'.BlobItemPropertiessetRemainingRetentionDays(Integer remainingRetentionDays)Set the remainingRetentionDays property: The remainingRetentionDays property.BlobItemPropertiessetSealed(Boolean sealed)Set the sealed property: The sealed property.BlobItemPropertiessetServerEncrypted(Boolean serverEncrypted)Set the serverEncrypted property: The serverEncrypted property.BlobItemPropertiessetTagCount(Integer tagCount)Set the tagCount property: The tagCount property.
-
-
-
Method Detail
-
getCreationTime
public OffsetDateTime getCreationTime()
Get the creationTime property: The creationTime property.- Returns:
- the creationTime value.
-
setCreationTime
public BlobItemProperties setCreationTime(OffsetDateTime creationTime)
Set the creationTime property: The creationTime property.- Parameters:
creationTime- the creationTime value to set.- Returns:
- the BlobItemProperties object itself.
-
getLastModified
public OffsetDateTime getLastModified()
Get the lastModified property: The lastModified property.- Returns:
- the lastModified value.
-
setLastModified
public BlobItemProperties setLastModified(OffsetDateTime lastModified)
Set the lastModified property: The lastModified property.- Parameters:
lastModified- the lastModified value to set.- Returns:
- the BlobItemProperties object itself.
-
getETag
public String getETag()
Get the eTag property: The eTag property.- Returns:
- the eTag value.
-
setETag
public BlobItemProperties setETag(String eTag)
Set the eTag property: The eTag property.- Parameters:
eTag- the eTag value to set.- Returns:
- the BlobItemProperties object itself.
-
getContentLength
public Long getContentLength()
Get the contentLength property: Size in bytes.- Returns:
- the contentLength value.
-
setContentLength
public BlobItemProperties setContentLength(Long contentLength)
Set the contentLength property: Size in bytes.- Parameters:
contentLength- the contentLength value to set.- Returns:
- the BlobItemProperties object itself.
-
getContentType
public String getContentType()
Get the contentType property: The contentType property.- Returns:
- the contentType value.
-
setContentType
public BlobItemProperties setContentType(String contentType)
Set the contentType property: The contentType property.- Parameters:
contentType- the contentType value to set.- Returns:
- the BlobItemProperties object itself.
-
getContentEncoding
public String getContentEncoding()
Get the contentEncoding property: The contentEncoding property.- Returns:
- the contentEncoding value.
-
setContentEncoding
public BlobItemProperties setContentEncoding(String contentEncoding)
Set the contentEncoding property: The contentEncoding property.- Parameters:
contentEncoding- the contentEncoding value to set.- Returns:
- the BlobItemProperties object itself.
-
getContentLanguage
public String getContentLanguage()
Get the contentLanguage property: The contentLanguage property.- Returns:
- the contentLanguage value.
-
setContentLanguage
public BlobItemProperties setContentLanguage(String contentLanguage)
Set the contentLanguage property: The contentLanguage property.- Parameters:
contentLanguage- the contentLanguage value to set.- Returns:
- the BlobItemProperties object itself.
-
getContentMd5
public byte[] getContentMd5()
Get the contentMd5 property: The contentMd5 property.- Returns:
- the contentMd5 value.
-
setContentMd5
public BlobItemProperties setContentMd5(byte[] contentMd5)
Set the contentMd5 property: The contentMd5 property.- Parameters:
contentMd5- the contentMd5 value to set.- Returns:
- the BlobItemProperties object itself.
-
getContentDisposition
public String getContentDisposition()
Get the contentDisposition property: The contentDisposition property.- Returns:
- the contentDisposition value.
-
setContentDisposition
public BlobItemProperties setContentDisposition(String contentDisposition)
Set the contentDisposition property: The contentDisposition property.- Parameters:
contentDisposition- the contentDisposition value to set.- Returns:
- the BlobItemProperties object itself.
-
getCacheControl
public String getCacheControl()
Get the cacheControl property: The cacheControl property.- Returns:
- the cacheControl value.
-
setCacheControl
public BlobItemProperties setCacheControl(String cacheControl)
Set the cacheControl property: The cacheControl property.- Parameters:
cacheControl- the cacheControl value to set.- Returns:
- the BlobItemProperties object itself.
-
getBlobSequenceNumber
public Long getBlobSequenceNumber()
Get the blobSequenceNumber property: The blobSequenceNumber property.- Returns:
- the blobSequenceNumber value.
-
setBlobSequenceNumber
public BlobItemProperties setBlobSequenceNumber(Long blobSequenceNumber)
Set the blobSequenceNumber property: The blobSequenceNumber property.- Parameters:
blobSequenceNumber- the blobSequenceNumber value to set.- Returns:
- the BlobItemProperties object itself.
-
getBlobType
public BlobType getBlobType()
Get the blobType property: Possible values include: 'BlockBlob', 'PageBlob', 'AppendBlob'.- Returns:
- the blobType value.
-
setBlobType
public BlobItemProperties setBlobType(BlobType blobType)
Set the blobType property: Possible values include: 'BlockBlob', 'PageBlob', 'AppendBlob'.- Parameters:
blobType- the blobType value to set.- Returns:
- the BlobItemProperties object itself.
-
getLeaseStatus
public LeaseStatusType getLeaseStatus()
Get the leaseStatus property: Possible values include: 'locked', 'unlocked'.- Returns:
- the leaseStatus value.
-
setLeaseStatus
public BlobItemProperties setLeaseStatus(LeaseStatusType leaseStatus)
Set the leaseStatus property: Possible values include: 'locked', 'unlocked'.- Parameters:
leaseStatus- the leaseStatus value to set.- Returns:
- the BlobItemProperties object itself.
-
getLeaseState
public LeaseStateType getLeaseState()
Get the leaseState property: Possible values include: 'available', 'leased', 'expired', 'breaking', 'broken'.- Returns:
- the leaseState value.
-
setLeaseState
public BlobItemProperties setLeaseState(LeaseStateType leaseState)
Set the leaseState property: Possible values include: 'available', 'leased', 'expired', 'breaking', 'broken'.- Parameters:
leaseState- the leaseState value to set.- Returns:
- the BlobItemProperties object itself.
-
getLeaseDuration
public LeaseDurationType getLeaseDuration()
Get the leaseDuration property: Possible values include: 'infinite', 'fixed'.- Returns:
- the leaseDuration value.
-
setLeaseDuration
public BlobItemProperties setLeaseDuration(LeaseDurationType leaseDuration)
Set the leaseDuration property: Possible values include: 'infinite', 'fixed'.- Parameters:
leaseDuration- the leaseDuration value to set.- Returns:
- the BlobItemProperties object itself.
-
getCopyId
public String getCopyId()
Get the copyId property: The copyId property.- Returns:
- the copyId value.
-
setCopyId
public BlobItemProperties setCopyId(String copyId)
Set the copyId property: The copyId property.- Parameters:
copyId- the copyId value to set.- Returns:
- the BlobItemProperties object itself.
-
getCopyStatus
public CopyStatusType getCopyStatus()
Get the copyStatus property: Possible values include: 'pending', 'success', 'aborted', 'failed'.- Returns:
- the copyStatus value.
-
setCopyStatus
public BlobItemProperties setCopyStatus(CopyStatusType copyStatus)
Set the copyStatus property: Possible values include: 'pending', 'success', 'aborted', 'failed'.- Parameters:
copyStatus- the copyStatus value to set.- Returns:
- the BlobItemProperties object itself.
-
getCopySource
public String getCopySource()
Get the copySource property: The copySource property.- Returns:
- the copySource value.
-
setCopySource
public BlobItemProperties setCopySource(String copySource)
Set the copySource property: The copySource property.- Parameters:
copySource- the copySource value to set.- Returns:
- the BlobItemProperties object itself.
-
getCopyProgress
public String getCopyProgress()
Get the copyProgress property: The copyProgress property.- Returns:
- the copyProgress value.
-
setCopyProgress
public BlobItemProperties setCopyProgress(String copyProgress)
Set the copyProgress property: The copyProgress property.- Parameters:
copyProgress- the copyProgress value to set.- Returns:
- the BlobItemProperties object itself.
-
getCopyCompletionTime
public OffsetDateTime getCopyCompletionTime()
Get the copyCompletionTime property: The copyCompletionTime property.- Returns:
- the copyCompletionTime value.
-
setCopyCompletionTime
public BlobItemProperties setCopyCompletionTime(OffsetDateTime copyCompletionTime)
Set the copyCompletionTime property: The copyCompletionTime property.- Parameters:
copyCompletionTime- the copyCompletionTime value to set.- Returns:
- the BlobItemProperties object itself.
-
getCopyStatusDescription
public String getCopyStatusDescription()
Get the copyStatusDescription property: The copyStatusDescription property.- Returns:
- the copyStatusDescription value.
-
setCopyStatusDescription
public BlobItemProperties setCopyStatusDescription(String copyStatusDescription)
Set the copyStatusDescription property: The copyStatusDescription property.- Parameters:
copyStatusDescription- the copyStatusDescription value to set.- Returns:
- the BlobItemProperties object itself.
-
isServerEncrypted
public Boolean isServerEncrypted()
Get the serverEncrypted property: The serverEncrypted property.- Returns:
- the serverEncrypted value.
-
setServerEncrypted
public BlobItemProperties setServerEncrypted(Boolean serverEncrypted)
Set the serverEncrypted property: The serverEncrypted property.- Parameters:
serverEncrypted- the serverEncrypted value to set.- Returns:
- the BlobItemProperties object itself.
-
isIncrementalCopy
public Boolean isIncrementalCopy()
Get the incrementalCopy property: The incrementalCopy property.- Returns:
- the incrementalCopy value.
-
setIncrementalCopy
public BlobItemProperties setIncrementalCopy(Boolean incrementalCopy)
Set the incrementalCopy property: The incrementalCopy property.- Parameters:
incrementalCopy- the incrementalCopy value to set.- Returns:
- the BlobItemProperties object itself.
-
getDestinationSnapshot
public String getDestinationSnapshot()
Get the destinationSnapshot property: The destinationSnapshot property.- Returns:
- the destinationSnapshot value.
-
setDestinationSnapshot
public BlobItemProperties setDestinationSnapshot(String destinationSnapshot)
Set the destinationSnapshot property: The destinationSnapshot property.- Parameters:
destinationSnapshot- the destinationSnapshot value to set.- Returns:
- the BlobItemProperties object itself.
-
getDeletedTime
public OffsetDateTime getDeletedTime()
Get the deletedTime property: The deletedTime property.- Returns:
- the deletedTime value.
-
setDeletedTime
public BlobItemProperties setDeletedTime(OffsetDateTime deletedTime)
Set the deletedTime property: The deletedTime property.- Parameters:
deletedTime- the deletedTime value to set.- Returns:
- the BlobItemProperties object itself.
-
getRemainingRetentionDays
public Integer getRemainingRetentionDays()
Get the remainingRetentionDays property: The remainingRetentionDays property.- Returns:
- the remainingRetentionDays value.
-
setRemainingRetentionDays
public BlobItemProperties setRemainingRetentionDays(Integer remainingRetentionDays)
Set the remainingRetentionDays property: The remainingRetentionDays property.- Parameters:
remainingRetentionDays- the remainingRetentionDays value to set.- Returns:
- the BlobItemProperties object itself.
-
getAccessTier
public AccessTier getAccessTier()
Get the accessTier property: Possible values include: 'P4', 'P6', 'P10', 'P15', 'P20', 'P30', 'P40', 'P50', 'P60', 'P70', 'P80', 'Hot', 'Cool', 'Archive'.- Returns:
- the accessTier value.
-
setAccessTier
public BlobItemProperties setAccessTier(AccessTier accessTier)
Set the accessTier property: Possible values include: 'P4', 'P6', 'P10', 'P15', 'P20', 'P30', 'P40', 'P50', 'P60', 'P70', 'P80', 'Hot', 'Cool', 'Archive'.- Parameters:
accessTier- the accessTier value to set.- Returns:
- the BlobItemProperties object itself.
-
isAccessTierInferred
public Boolean isAccessTierInferred()
Get the accessTierInferred property: The accessTierInferred property.- Returns:
- the accessTierInferred value.
-
setAccessTierInferred
public BlobItemProperties setAccessTierInferred(Boolean accessTierInferred)
Set the accessTierInferred property: The accessTierInferred property.- Parameters:
accessTierInferred- the accessTierInferred value to set.- Returns:
- the BlobItemProperties object itself.
-
getArchiveStatus
public ArchiveStatus getArchiveStatus()
Get the archiveStatus property: Possible values include: 'rehydrate-pending-to-hot', 'rehydrate-pending-to-cool'.- Returns:
- the archiveStatus value.
-
setArchiveStatus
public BlobItemProperties setArchiveStatus(ArchiveStatus archiveStatus)
Set the archiveStatus property: Possible values include: 'rehydrate-pending-to-hot', 'rehydrate-pending-to-cool'.- Parameters:
archiveStatus- the archiveStatus value to set.- Returns:
- the BlobItemProperties object itself.
-
getCustomerProvidedKeySha256
public String getCustomerProvidedKeySha256()
Get the customerProvidedKeySha256 property: The customerProvidedKeySha256 property.- Returns:
- the customerProvidedKeySha256 value.
-
setCustomerProvidedKeySha256
public BlobItemProperties setCustomerProvidedKeySha256(String customerProvidedKeySha256)
Set the customerProvidedKeySha256 property: The customerProvidedKeySha256 property.- Parameters:
customerProvidedKeySha256- the customerProvidedKeySha256 value to set.- Returns:
- the BlobItemProperties object itself.
-
getEncryptionScope
public String getEncryptionScope()
Get the encryptionScope property: The name of the encryption scope under which the blob is encrypted.- Returns:
- the encryptionScope value.
-
setEncryptionScope
public BlobItemProperties setEncryptionScope(String encryptionScope)
Set the encryptionScope property: The name of the encryption scope under which the blob is encrypted.- Parameters:
encryptionScope- the encryptionScope value to set.- Returns:
- the BlobItemProperties object itself.
-
getAccessTierChangeTime
public OffsetDateTime getAccessTierChangeTime()
Get the accessTierChangeTime property: The accessTierChangeTime property.- Returns:
- the accessTierChangeTime value.
-
setAccessTierChangeTime
public BlobItemProperties setAccessTierChangeTime(OffsetDateTime accessTierChangeTime)
Set the accessTierChangeTime property: The accessTierChangeTime property.- Parameters:
accessTierChangeTime- the accessTierChangeTime value to set.- Returns:
- the BlobItemProperties object itself.
-
getTagCount
public Integer getTagCount()
Get the tagCount property: The tagCount property.- Returns:
- the tagCount value.
-
setTagCount
public BlobItemProperties setTagCount(Integer tagCount)
Set the tagCount property: The tagCount property.- Parameters:
tagCount- the tagCount value to set.- Returns:
- the BlobItemProperties object itself.
-
getRehydratePriority
public RehydratePriority getRehydratePriority()
Get the rehydratePriority property: Possible values include: 'High', 'Standard'.- Returns:
- the rehydratePriority value.
-
setRehydratePriority
public BlobItemProperties setRehydratePriority(RehydratePriority rehydratePriority)
Set the rehydratePriority property: Possible values include: 'High', 'Standard'.- Parameters:
rehydratePriority- the rehydratePriority value to set.- Returns:
- the BlobItemProperties object itself.
-
isSealed
public Boolean isSealed()
Get the sealed property: The sealed property.- Returns:
- Whether or not the blob is sealed (marked as read only). This is only applicable for Append blobs.
-
setSealed
public BlobItemProperties setSealed(Boolean sealed)
Set the sealed property: The sealed property.- Parameters:
sealed- Whether or not the blob is sealed (marked as read only). This is only applicable for Append blobs.- Returns:
- the BlobItemProperties object itself.
-
getLastAccessedTime
public OffsetDateTime getLastAccessedTime()
Get the lastAccessedTime property: The lastAccessedTime property.- Returns:
- the lastAccessedTime value.
-
setLastAccessedTime
public BlobItemProperties setLastAccessedTime(OffsetDateTime lastAccessedTime)
Set the lastAccessedTime property: The lastAccessedTime property.- Parameters:
lastAccessedTime- the lastAccessedTime value to set.- Returns:
- the BlobItemProperties object itself.
-
getExpiryTime
public OffsetDateTime getExpiryTime()
Get the expiryTime property: The Expiry-Time property.- Returns:
- the expiryTime value.
-
setExpiryTime
public BlobItemProperties setExpiryTime(OffsetDateTime expiryTime)
Set the expiryTime property: The Expiry-Time property.- Parameters:
expiryTime- the expiryTime value to set.- Returns:
- the BlobItemProperties object itself.
-
getImmutabilityPolicy
public BlobImmutabilityPolicy getImmutabilityPolicy()
Get the immutabilityPolicy property: The ImmutabilityPolicyUntilDate and ImmutabilityPolicyMode property.- Returns:
- the immutabilityPolicy value.
-
setImmutabilityPolicy
public BlobItemProperties setImmutabilityPolicy(BlobImmutabilityPolicy immutabilityPolicy)
Set the immutabilityPolicy property: The ImmutabilityPolicyUntilDate and ImmutabilityPolicyMode property.- Parameters:
immutabilityPolicy- the immutabilityPolicy value to set.- Returns:
- the BlobItemProperties object itself.
-
hasLegalHold
public Boolean hasLegalHold()
Get the hasLegalHold property: The LegalHold property.- Returns:
- the hasLegalHold value.
-
setHasLegalHold
public BlobItemProperties setHasLegalHold(Boolean hasLegalHold)
Set the hasLegalHold property: The LegalHold property.- Parameters:
hasLegalHold- the v value to set.- Returns:
- the BlobItemProperties object itself.
-
-