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 AccessTier
getAccessTier()
Get the accessTier property: Possible values include: 'P4', 'P6', 'P10', 'P15', 'P20', 'P30', 'P40', 'P50', 'P60', 'P70', 'P80', 'Hot', 'Cool', 'Archive'.OffsetDateTime
getAccessTierChangeTime()
Get the accessTierChangeTime property: The accessTierChangeTime property.ArchiveStatus
getArchiveStatus()
Get the archiveStatus property: Possible values include: 'rehydrate-pending-to-hot', 'rehydrate-pending-to-cool'.Long
getBlobSequenceNumber()
Get the blobSequenceNumber property: The blobSequenceNumber property.BlobType
getBlobType()
Get the blobType property: Possible values include: 'BlockBlob', 'PageBlob', 'AppendBlob'.String
getCacheControl()
Get the cacheControl property: The cacheControl property.String
getContentDisposition()
Get the contentDisposition property: The contentDisposition property.String
getContentEncoding()
Get the contentEncoding property: The contentEncoding property.String
getContentLanguage()
Get the contentLanguage property: The contentLanguage property.Long
getContentLength()
Get the contentLength property: Size in bytes.byte[]
getContentMd5()
Get the contentMd5 property: The contentMd5 property.String
getContentType()
Get the contentType property: The contentType property.OffsetDateTime
getCopyCompletionTime()
Get the copyCompletionTime property: The copyCompletionTime property.String
getCopyId()
Get the copyId property: The copyId property.String
getCopyProgress()
Get the copyProgress property: The copyProgress property.String
getCopySource()
Get the copySource property: The copySource property.CopyStatusType
getCopyStatus()
Get the copyStatus property: Possible values include: 'pending', 'success', 'aborted', 'failed'.String
getCopyStatusDescription()
Get the copyStatusDescription property: The copyStatusDescription property.OffsetDateTime
getCreationTime()
Get the creationTime property: The creationTime property.String
getCustomerProvidedKeySha256()
Get the customerProvidedKeySha256 property: The customerProvidedKeySha256 property.OffsetDateTime
getDeletedTime()
Get the deletedTime property: The deletedTime property.String
getDestinationSnapshot()
Get the destinationSnapshot property: The destinationSnapshot property.String
getEncryptionScope()
Get the encryptionScope property: The name of the encryption scope under which the blob is encrypted.String
getETag()
Get the eTag property: The eTag property.OffsetDateTime
getExpiryTime()
Get the expiryTime property: The Expiry-Time property.BlobImmutabilityPolicy
getImmutabilityPolicy()
Get the immutabilityPolicy property: The ImmutabilityPolicyUntilDate and ImmutabilityPolicyMode property.OffsetDateTime
getLastAccessedTime()
Get the lastAccessedTime property: The lastAccessedTime property.OffsetDateTime
getLastModified()
Get the lastModified property: The lastModified property.LeaseDurationType
getLeaseDuration()
Get the leaseDuration property: Possible values include: 'infinite', 'fixed'.LeaseStateType
getLeaseState()
Get the leaseState property: Possible values include: 'available', 'leased', 'expired', 'breaking', 'broken'.LeaseStatusType
getLeaseStatus()
Get the leaseStatus property: Possible values include: 'locked', 'unlocked'.RehydratePriority
getRehydratePriority()
Get the rehydratePriority property: Possible values include: 'High', 'Standard'.Integer
getRemainingRetentionDays()
Get the remainingRetentionDays property: The remainingRetentionDays property.Integer
getTagCount()
Get the tagCount property: The tagCount property.Boolean
hasLegalHold()
Get the hasLegalHold property: The LegalHold property.Boolean
isAccessTierInferred()
Get the accessTierInferred property: The accessTierInferred property.Boolean
isIncrementalCopy()
Get the incrementalCopy property: The incrementalCopy property.Boolean
isSealed()
Get the sealed property: The sealed property.Boolean
isServerEncrypted()
Get the serverEncrypted property: The serverEncrypted property.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'.BlobItemProperties
setAccessTierChangeTime(OffsetDateTime accessTierChangeTime)
Set the accessTierChangeTime property: The accessTierChangeTime property.BlobItemProperties
setAccessTierInferred(Boolean accessTierInferred)
Set the accessTierInferred property: The accessTierInferred property.BlobItemProperties
setArchiveStatus(ArchiveStatus archiveStatus)
Set the archiveStatus property: Possible values include: 'rehydrate-pending-to-hot', 'rehydrate-pending-to-cool'.BlobItemProperties
setBlobSequenceNumber(Long blobSequenceNumber)
Set the blobSequenceNumber property: The blobSequenceNumber property.BlobItemProperties
setBlobType(BlobType blobType)
Set the blobType property: Possible values include: 'BlockBlob', 'PageBlob', 'AppendBlob'.BlobItemProperties
setCacheControl(String cacheControl)
Set the cacheControl property: The cacheControl property.BlobItemProperties
setContentDisposition(String contentDisposition)
Set the contentDisposition property: The contentDisposition property.BlobItemProperties
setContentEncoding(String contentEncoding)
Set the contentEncoding property: The contentEncoding property.BlobItemProperties
setContentLanguage(String contentLanguage)
Set the contentLanguage property: The contentLanguage property.BlobItemProperties
setContentLength(Long contentLength)
Set the contentLength property: Size in bytes.BlobItemProperties
setContentMd5(byte[] contentMd5)
Set the contentMd5 property: The contentMd5 property.BlobItemProperties
setContentType(String contentType)
Set the contentType property: The contentType property.BlobItemProperties
setCopyCompletionTime(OffsetDateTime copyCompletionTime)
Set the copyCompletionTime property: The copyCompletionTime property.BlobItemProperties
setCopyId(String copyId)
Set the copyId property: The copyId property.BlobItemProperties
setCopyProgress(String copyProgress)
Set the copyProgress property: The copyProgress property.BlobItemProperties
setCopySource(String copySource)
Set the copySource property: The copySource property.BlobItemProperties
setCopyStatus(CopyStatusType copyStatus)
Set the copyStatus property: Possible values include: 'pending', 'success', 'aborted', 'failed'.BlobItemProperties
setCopyStatusDescription(String copyStatusDescription)
Set the copyStatusDescription property: The copyStatusDescription property.BlobItemProperties
setCreationTime(OffsetDateTime creationTime)
Set the creationTime property: The creationTime property.BlobItemProperties
setCustomerProvidedKeySha256(String customerProvidedKeySha256)
Set the customerProvidedKeySha256 property: The customerProvidedKeySha256 property.BlobItemProperties
setDeletedTime(OffsetDateTime deletedTime)
Set the deletedTime property: The deletedTime property.BlobItemProperties
setDestinationSnapshot(String destinationSnapshot)
Set the destinationSnapshot property: The destinationSnapshot property.BlobItemProperties
setEncryptionScope(String encryptionScope)
Set the encryptionScope property: The name of the encryption scope under which the blob is encrypted.BlobItemProperties
setETag(String eTag)
Set the eTag property: The eTag property.BlobItemProperties
setExpiryTime(OffsetDateTime expiryTime)
Set the expiryTime property: The Expiry-Time property.BlobItemProperties
setHasLegalHold(Boolean hasLegalHold)
Set the hasLegalHold property: The LegalHold property.BlobItemProperties
setImmutabilityPolicy(BlobImmutabilityPolicy immutabilityPolicy)
Set the immutabilityPolicy property: The ImmutabilityPolicyUntilDate and ImmutabilityPolicyMode property.BlobItemProperties
setIncrementalCopy(Boolean incrementalCopy)
Set the incrementalCopy property: The incrementalCopy property.BlobItemProperties
setLastAccessedTime(OffsetDateTime lastAccessedTime)
Set the lastAccessedTime property: The lastAccessedTime property.BlobItemProperties
setLastModified(OffsetDateTime lastModified)
Set the lastModified property: The lastModified property.BlobItemProperties
setLeaseDuration(LeaseDurationType leaseDuration)
Set the leaseDuration property: Possible values include: 'infinite', 'fixed'.BlobItemProperties
setLeaseState(LeaseStateType leaseState)
Set the leaseState property: Possible values include: 'available', 'leased', 'expired', 'breaking', 'broken'.BlobItemProperties
setLeaseStatus(LeaseStatusType leaseStatus)
Set the leaseStatus property: Possible values include: 'locked', 'unlocked'.BlobItemProperties
setRehydratePriority(RehydratePriority rehydratePriority)
Set the rehydratePriority property: Possible values include: 'High', 'Standard'.BlobItemProperties
setRemainingRetentionDays(Integer remainingRetentionDays)
Set the remainingRetentionDays property: The remainingRetentionDays property.BlobItemProperties
setSealed(Boolean sealed)
Set the sealed property: The sealed property.BlobItemProperties
setServerEncrypted(Boolean serverEncrypted)
Set the serverEncrypted property: The serverEncrypted property.BlobItemProperties
setTagCount(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.
-
-