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