Package com.azure.storage.blob.models
Class BlobProperties
java.lang.Object
com.azure.storage.blob.models.BlobProperties
This class contains the response information returned from the service when getting blob properties.
-
Constructor Summary
ConstructorsConstructorDescriptionBlobProperties
(OffsetDateTime creationTime, OffsetDateTime lastModified, String eTag, long blobSize, String contentType, byte[] contentMd5, String contentEncoding, String contentDisposition, String contentLanguage, String cacheControl, Long blobSequenceNumber, BlobType blobType, LeaseStatusType leaseStatus, LeaseStateType leaseState, LeaseDurationType leaseDuration, String copyId, CopyStatusType copyStatus, String copySource, String copyProgress, OffsetDateTime copyCompletionTime, String copyStatusDescription, Boolean isServerEncrypted, Boolean isIncrementalCopy, String copyDestinationSnapshot, AccessTier accessTier, Boolean isAccessTierInferred, ArchiveStatus archiveStatus, String encryptionKeySha256, String encryptionScope, OffsetDateTime accessTierChangeTime, Map<String, String> metadata, Integer committedBlockCount, Long tagCount, String versionId, Boolean isCurrentVersion, List<ObjectReplicationPolicy> objectReplicationSourcePolicies, String objectReplicationDestinationPolicyId) Constructs aBlobProperties
.BlobProperties
(OffsetDateTime creationTime, OffsetDateTime lastModified, String eTag, long blobSize, String contentType, byte[] contentMd5, String contentEncoding, String contentDisposition, String contentLanguage, String cacheControl, Long blobSequenceNumber, BlobType blobType, LeaseStatusType leaseStatus, LeaseStateType leaseState, LeaseDurationType leaseDuration, String copyId, CopyStatusType copyStatus, String copySource, String copyProgress, OffsetDateTime copyCompletionTime, String copyStatusDescription, Boolean isServerEncrypted, Boolean isIncrementalCopy, String copyDestinationSnapshot, AccessTier accessTier, Boolean isAccessTierInferred, ArchiveStatus archiveStatus, String encryptionKeySha256, String encryptionScope, OffsetDateTime accessTierChangeTime, Map<String, String> metadata, Integer committedBlockCount, Long tagCount, String versionId, Boolean isCurrentVersion, List<ObjectReplicationPolicy> objectReplicationSourcePolicies, String objectReplicationDestinationPolicyId, RehydratePriority rehydratePriority, Boolean isSealed, OffsetDateTime lastAccessedTime, OffsetDateTime expiresOn) Constructs aBlobProperties
.BlobProperties
(OffsetDateTime creationTime, OffsetDateTime lastModified, String eTag, long blobSize, String contentType, byte[] contentMd5, String contentEncoding, String contentDisposition, String contentLanguage, String cacheControl, Long blobSequenceNumber, BlobType blobType, LeaseStatusType leaseStatus, LeaseStateType leaseState, LeaseDurationType leaseDuration, String copyId, CopyStatusType copyStatus, String copySource, String copyProgress, OffsetDateTime copyCompletionTime, String copyStatusDescription, Boolean isServerEncrypted, Boolean isIncrementalCopy, String copyDestinationSnapshot, AccessTier accessTier, Boolean isAccessTierInferred, ArchiveStatus archiveStatus, String encryptionKeySha256, String encryptionScope, OffsetDateTime accessTierChangeTime, Map<String, String> metadata, Integer committedBlockCount, Long tagCount, String versionId, Boolean isCurrentVersion, List<ObjectReplicationPolicy> objectReplicationSourcePolicies, String objectReplicationDestinationPolicyId, RehydratePriority rehydratePriority, Boolean isSealed, OffsetDateTime lastAccessedTime, OffsetDateTime expiresOn, BlobImmutabilityPolicy immutabilityPolicy, Boolean hasLegalHold) Constructs aBlobProperties
.BlobProperties
(OffsetDateTime creationTime, OffsetDateTime lastModified, String eTag, long blobSize, String contentType, byte[] contentMd5, String contentEncoding, String contentDisposition, String contentLanguage, String cacheControl, Long blobSequenceNumber, BlobType blobType, LeaseStatusType leaseStatus, LeaseStateType leaseState, LeaseDurationType leaseDuration, String copyId, CopyStatusType copyStatus, String copySource, String copyProgress, OffsetDateTime copyCompletionTime, String copyStatusDescription, Boolean isServerEncrypted, Boolean isIncrementalCopy, String copyDestinationSnapshot, AccessTier accessTier, Boolean isAccessTierInferred, ArchiveStatus archiveStatus, String encryptionKeySha256, String encryptionScope, OffsetDateTime accessTierChangeTime, Map<String, String> metadata, Integer committedBlockCount, Long tagCount, String versionId, Boolean isCurrentVersion, List<ObjectReplicationPolicy> objectReplicationSourcePolicies, String objectReplicationDestinationPolicyId, RehydratePriority rehydratePriority, Boolean isSealed, OffsetDateTime lastAccessedTime, OffsetDateTime expiresOn, BlobImmutabilityPolicy immutabilityPolicy, Boolean hasLegalHold, String requestId) Constructs aBlobProperties
.BlobProperties
(OffsetDateTime creationTime, OffsetDateTime lastModified, String eTag, long blobSize, String contentType, byte[] contentMd5, String contentEncoding, String contentDisposition, String contentLanguage, String cacheControl, Long blobSequenceNumber, BlobType blobType, LeaseStatusType leaseStatus, LeaseStateType leaseState, LeaseDurationType leaseDuration, String copyId, CopyStatusType copyStatus, String copySource, String copyProgress, OffsetDateTime copyCompletionTime, String copyStatusDescription, Boolean isServerEncrypted, Boolean isIncrementalCopy, String copyDestinationSnapshot, AccessTier accessTier, Boolean isAccessTierInferred, ArchiveStatus archiveStatus, String encryptionKeySha256, String encryptionScope, OffsetDateTime accessTierChangeTime, Map<String, String> metadata, Integer committedBlockCount, String versionId, Boolean isCurrentVersion, Long tagCount, Map<String, String> objectReplicationStatus, String rehydratePriority, Boolean isSealed) Constructs aBlobProperties
.BlobProperties
(OffsetDateTime creationTime, OffsetDateTime lastModified, String eTag, long blobSize, String contentType, byte[] contentMd5, String contentEncoding, String contentDisposition, String contentLanguage, String cacheControl, Long blobSequenceNumber, BlobType blobType, LeaseStatusType leaseStatus, LeaseStateType leaseState, LeaseDurationType leaseDuration, String copyId, CopyStatusType copyStatus, String copySource, String copyProgress, OffsetDateTime copyCompletionTime, String copyStatusDescription, Boolean isServerEncrypted, Boolean isIncrementalCopy, String copyDestinationSnapshot, AccessTier accessTier, Boolean isAccessTierInferred, ArchiveStatus archiveStatus, String encryptionKeySha256, OffsetDateTime accessTierChangeTime, Map<String, String> metadata, Integer committedBlockCount) Constructs aBlobProperties
. -
Method Summary
Modifier and TypeMethodDescriptionGets the access tier of the blob.Gets the time when the access tier for the blob was last changed.Gets the archive status of the blob.Gets the current sequence number of the page blob.long
Gets the size of the blob in bytes.Gets the type of the blob.Gets the cache control of the blob.Gets the number of committed blocks in the blob.Gets the content disposition of the blob.Gets the content encoding of the blob.Gets the content language of the blob.byte[]
Gets the MD5 of the blob's content.Gets the content type of the blob.Gets the completion time of the last copy operation.Gets the snapshot time of the last successful incremental copy snapshot for this blob.Gets the identifier of the last copy operation.Gets the progress of the last copy operation.Gets the source blob URL from the last copy operation.Gets the status of the last copy operation.Gets the description of the last copy failure.Gets the time when the blob was created.Gets the SHA256 of the customer provided encryption key used to encrypt the blob on the server.Gets the name of the encryption scope under which the blob is encrypted.getETag()
Gets the eTag of the blob.Gets the time when the blob is going to expire.Gets the immutability policy of the blob.Gets the date and time the blob was last read or written to.Gets the time when the blob was last modified.Gets the lease duration of the blob, if the blob is leased.Gets the lease state of the blob.Gets the lease status of the blob.Gets the metadata associated with this blob.Gets a string that identifies the Object Replication Policy which made this blob the destination of a copy.Gets aList
that contains information on the object replication policies associated with this blob and the status of the replication for each policy.Gets theRehydratePriority
of the blob if it is in RehydratePending state.Gets the request id.Gets the number of tags associated with the blob.Gets the version identifier of the blob.Gets the legal hold status of the blob.Gets the status of the tier being inferred for the blob.Gets the flag indicating whether version identifier points to current version of the blob.Gets the status of the blob being an incremental copy blob.isSealed()
Gets the flag indicating whether this blob has been sealed (marked as read only).Gets the status of the blob being encrypted on the server.
-
Constructor Details
-
BlobProperties
public BlobProperties(OffsetDateTime creationTime, OffsetDateTime lastModified, String eTag, long blobSize, String contentType, byte[] contentMd5, String contentEncoding, String contentDisposition, String contentLanguage, String cacheControl, Long blobSequenceNumber, BlobType blobType, LeaseStatusType leaseStatus, LeaseStateType leaseState, LeaseDurationType leaseDuration, String copyId, CopyStatusType copyStatus, String copySource, String copyProgress, OffsetDateTime copyCompletionTime, String copyStatusDescription, Boolean isServerEncrypted, Boolean isIncrementalCopy, String copyDestinationSnapshot, AccessTier accessTier, Boolean isAccessTierInferred, ArchiveStatus archiveStatus, String encryptionKeySha256, OffsetDateTime accessTierChangeTime, Map<String, String> metadata, Integer committedBlockCount) Constructs aBlobProperties
.- Parameters:
creationTime
- Creation time of the blob.lastModified
- Datetime when the blob was last modified.eTag
- ETag of the blob.blobSize
- Size of the blob.contentType
- Content type specified for the blob.contentMd5
- Content MD5 specified for the blob.contentEncoding
- Content encoding specified for the blob.contentDisposition
- Content disposition specified for the blob.contentLanguage
- Content language specified for the blob.cacheControl
- Cache control specified for the blob.blobSequenceNumber
- The current sequence number for a page blob, if the blob is an append or block blob passnull
.blobType
- Type of the blob.leaseStatus
- Status of the lease on the blob.leaseState
- State of the lease on the blob.leaseDuration
- Type of lease on the blob.copyId
- Identifier of the last copy operation performed on the blob.copyStatus
- Status of the last copy operation performed on the blob.copySource
- Source of the last copy operation performed on the blob.copyProgress
- Progress of the last copy operation performed on the blob.copyCompletionTime
- Datetime when the last copy operation on the blob completed.copyStatusDescription
- Description of the last copy operation on the blob.isServerEncrypted
- Flag indicating if the blob's content is encrypted on the server.isIncrementalCopy
- Flag indicating if the blob was incrementally copied.copyDestinationSnapshot
- Snapshot identifier of the last incremental copy snapshot for the blob.accessTier
- Access tier of the blob.isAccessTierInferred
- Flag indicating if the access tier of the blob was inferred from properties of the blob.archiveStatus
- Archive status of the blob.encryptionKeySha256
- SHA256 of the customer provided encryption key used to encrypt the blob on the server.accessTierChangeTime
- Datetime when the access tier of the blob last changed.metadata
- Metadata associated with the blob.committedBlockCount
- Number of blocks committed to an append blob, if the blob is a block or page blob passnull
.
-
BlobProperties
public BlobProperties(OffsetDateTime creationTime, OffsetDateTime lastModified, String eTag, long blobSize, String contentType, byte[] contentMd5, String contentEncoding, String contentDisposition, String contentLanguage, String cacheControl, Long blobSequenceNumber, BlobType blobType, LeaseStatusType leaseStatus, LeaseStateType leaseState, LeaseDurationType leaseDuration, String copyId, CopyStatusType copyStatus, String copySource, String copyProgress, OffsetDateTime copyCompletionTime, String copyStatusDescription, Boolean isServerEncrypted, Boolean isIncrementalCopy, String copyDestinationSnapshot, AccessTier accessTier, Boolean isAccessTierInferred, ArchiveStatus archiveStatus, String encryptionKeySha256, String encryptionScope, OffsetDateTime accessTierChangeTime, Map<String, String> metadata, Integer committedBlockCount, String versionId, Boolean isCurrentVersion, Long tagCount, Map<String, String> objectReplicationStatus, String rehydratePriority, Boolean isSealed) Constructs aBlobProperties
.- Parameters:
creationTime
- Creation time of the blob.lastModified
- Datetime when the blob was last modified.eTag
- ETag of the blob.blobSize
- Size of the blob.contentType
- Content type specified for the blob.contentMd5
- Content MD5 specified for the blob.contentEncoding
- Content encoding specified for the blob.contentDisposition
- Content disposition specified for the blob.contentLanguage
- Content language specified for the blob.cacheControl
- Cache control specified for the blob.blobSequenceNumber
- The current sequence number for a page blob, if the blob is an append or block blob passnull
.blobType
- Type of the blob.leaseStatus
- Status of the lease on the blob.leaseState
- State of the lease on the blob.leaseDuration
- Type of lease on the blob.copyId
- Identifier of the last copy operation performed on the blob.copyStatus
- Status of the last copy operation performed on the blob.copySource
- Source of the last copy operation performed on the blob.copyProgress
- Progress of the last copy operation performed on the blob.copyCompletionTime
- Datetime when the last copy operation on the blob completed.copyStatusDescription
- Description of the last copy operation on the blob.isServerEncrypted
- Flag indicating if the blob's content is encrypted on the server.isIncrementalCopy
- Flag indicating if the blob was incrementally copied.copyDestinationSnapshot
- Snapshot identifier of the last incremental copy snapshot for the blob.accessTier
- Access tier of the blob.isAccessTierInferred
- Flag indicating if the access tier of the blob was inferred from properties of the blob.archiveStatus
- Archive status of the blob.encryptionKeySha256
- SHA256 of the customer provided encryption key used to encrypt the blob on the server.encryptionScope
- The name of the encryption scope under which the blob is encrypted.accessTierChangeTime
- Datetime when the access tier of the blob last changed.metadata
- Metadata associated with the blob.committedBlockCount
- Number of blocks committed to an append blob, if the blob is a block or page blob passnull
.versionId
- The version identifier of the blob.isCurrentVersion
- Flag indicating if version identifier points to current version of the blob.tagCount
- Number of tags associated with the blob.objectReplicationStatus
- The object replication status map to parse.rehydratePriority
- The rehydrate priorityisSealed
- Whether the blob is sealed.
-
BlobProperties
public BlobProperties(OffsetDateTime creationTime, OffsetDateTime lastModified, String eTag, long blobSize, String contentType, byte[] contentMd5, String contentEncoding, String contentDisposition, String contentLanguage, String cacheControl, Long blobSequenceNumber, BlobType blobType, LeaseStatusType leaseStatus, LeaseStateType leaseState, LeaseDurationType leaseDuration, String copyId, CopyStatusType copyStatus, String copySource, String copyProgress, OffsetDateTime copyCompletionTime, String copyStatusDescription, Boolean isServerEncrypted, Boolean isIncrementalCopy, String copyDestinationSnapshot, AccessTier accessTier, Boolean isAccessTierInferred, ArchiveStatus archiveStatus, String encryptionKeySha256, String encryptionScope, OffsetDateTime accessTierChangeTime, Map<String, String> metadata, Integer committedBlockCount, Long tagCount, String versionId, Boolean isCurrentVersion, List<ObjectReplicationPolicy> objectReplicationSourcePolicies, String objectReplicationDestinationPolicyId) Constructs aBlobProperties
.- Parameters:
creationTime
- Creation time of the blob.lastModified
- Datetime when the blob was last modified.eTag
- ETag of the blob.blobSize
- Size of the blob.contentType
- Content type specified for the blob.contentMd5
- Content MD5 specified for the blob.contentEncoding
- Content encoding specified for the blob.contentDisposition
- Content disposition specified for the blob.contentLanguage
- Content language specified for the blob.cacheControl
- Cache control specified for the blob.blobSequenceNumber
- The current sequence number for a page blob, if the blob is an append or block blob passnull
.blobType
- Type of the blob.leaseStatus
- Status of the lease on the blob.leaseState
- State of the lease on the blob.leaseDuration
- Type of lease on the blob.copyId
- Identifier of the last copy operation performed on the blob.copyStatus
- Status of the last copy operation performed on the blob.copySource
- Source of the last copy operation performed on the blob.copyProgress
- Progress of the last copy operation performed on the blob.copyCompletionTime
- Datetime when the last copy operation on the blob completed.copyStatusDescription
- Description of the last copy operation on the blob.isServerEncrypted
- Flag indicating if the blob's content is encrypted on the server.isIncrementalCopy
- Flag indicating if the blob was incrementally copied.copyDestinationSnapshot
- Snapshot identifier of the last incremental copy snapshot for the blob.accessTier
- Access tier of the blob.isAccessTierInferred
- Flag indicating if the access tier of the blob was inferred from properties of the blob.archiveStatus
- Archive status of the blob.encryptionKeySha256
- SHA256 of the customer provided encryption key used to encrypt the blob on the server.encryptionScope
- The name of the encryption scope under which the blob is encrypted.accessTierChangeTime
- Datetime when the access tier of the blob last changed.metadata
- Metadata associated with the blob.committedBlockCount
- Number of blocks committed to an append blob, if the blob is a block or page blob passnull
.tagCount
- Number of tags associated with the blob.versionId
- The version identifier of the blob.isCurrentVersion
- Flag indicating if version identifier points to current version of the blob.objectReplicationSourcePolicies
- The already parsed object replication policies.objectReplicationDestinationPolicyId
- The policy id on the destination blob.
-
BlobProperties
public BlobProperties(OffsetDateTime creationTime, OffsetDateTime lastModified, String eTag, long blobSize, String contentType, byte[] contentMd5, String contentEncoding, String contentDisposition, String contentLanguage, String cacheControl, Long blobSequenceNumber, BlobType blobType, LeaseStatusType leaseStatus, LeaseStateType leaseState, LeaseDurationType leaseDuration, String copyId, CopyStatusType copyStatus, String copySource, String copyProgress, OffsetDateTime copyCompletionTime, String copyStatusDescription, Boolean isServerEncrypted, Boolean isIncrementalCopy, String copyDestinationSnapshot, AccessTier accessTier, Boolean isAccessTierInferred, ArchiveStatus archiveStatus, String encryptionKeySha256, String encryptionScope, OffsetDateTime accessTierChangeTime, Map<String, String> metadata, Integer committedBlockCount, Long tagCount, String versionId, Boolean isCurrentVersion, List<ObjectReplicationPolicy> objectReplicationSourcePolicies, String objectReplicationDestinationPolicyId, RehydratePriority rehydratePriority, Boolean isSealed, OffsetDateTime lastAccessedTime, OffsetDateTime expiresOn) Constructs aBlobProperties
.- Parameters:
creationTime
- Creation time of the blob.lastModified
- Datetime when the blob was last modified.eTag
- ETag of the blob.blobSize
- Size of the blob.contentType
- Content type specified for the blob.contentMd5
- Content MD5 specified for the blob.contentEncoding
- Content encoding specified for the blob.contentDisposition
- Content disposition specified for the blob.contentLanguage
- Content language specified for the blob.cacheControl
- Cache control specified for the blob.blobSequenceNumber
- The current sequence number for a page blob, if the blob is an append or block blob passnull
.blobType
- Type of the blob.leaseStatus
- Status of the lease on the blob.leaseState
- State of the lease on the blob.leaseDuration
- Type of lease on the blob.copyId
- Identifier of the last copy operation performed on the blob.copyStatus
- Status of the last copy operation performed on the blob.copySource
- Source of the last copy operation performed on the blob.copyProgress
- Progress of the last copy operation performed on the blob.copyCompletionTime
- Datetime when the last copy operation on the blob completed.copyStatusDescription
- Description of the last copy operation on the blob.isServerEncrypted
- Flag indicating if the blob's content is encrypted on the server.isIncrementalCopy
- Flag indicating if the blob was incrementally copied.copyDestinationSnapshot
- Snapshot identifier of the last incremental copy snapshot for the blob.accessTier
- Access tier of the blob.isAccessTierInferred
- Flag indicating if the access tier of the blob was inferred from properties of the blob.archiveStatus
- Archive status of the blob.encryptionKeySha256
- SHA256 of the customer provided encryption key used to encrypt the blob on the server.encryptionScope
- The name of the encryption scope under which the blob is encrypted.accessTierChangeTime
- Datetime when the access tier of the blob last changed.metadata
- Metadata associated with the blob.committedBlockCount
- Number of blocks committed to an append blob, if the blob is a block or page blob passnull
.tagCount
- Number of tags associated with the blob.versionId
- The version identifier of the blob.isCurrentVersion
- Flag indicating if version identifier points to current version of the blob.objectReplicationSourcePolicies
- The already parsed object replication policies.objectReplicationDestinationPolicyId
- The policy id on the destination blob.rehydratePriority
- The rehydrate priorityisSealed
- Whether the blob is sealed.lastAccessedTime
- The date and time the blob was read or written to.expiresOn
- The time when the blob is going to expire.
-
BlobProperties
public BlobProperties(OffsetDateTime creationTime, OffsetDateTime lastModified, String eTag, long blobSize, String contentType, byte[] contentMd5, String contentEncoding, String contentDisposition, String contentLanguage, String cacheControl, Long blobSequenceNumber, BlobType blobType, LeaseStatusType leaseStatus, LeaseStateType leaseState, LeaseDurationType leaseDuration, String copyId, CopyStatusType copyStatus, String copySource, String copyProgress, OffsetDateTime copyCompletionTime, String copyStatusDescription, Boolean isServerEncrypted, Boolean isIncrementalCopy, String copyDestinationSnapshot, AccessTier accessTier, Boolean isAccessTierInferred, ArchiveStatus archiveStatus, String encryptionKeySha256, String encryptionScope, OffsetDateTime accessTierChangeTime, Map<String, String> metadata, Integer committedBlockCount, Long tagCount, String versionId, Boolean isCurrentVersion, List<ObjectReplicationPolicy> objectReplicationSourcePolicies, String objectReplicationDestinationPolicyId, RehydratePriority rehydratePriority, Boolean isSealed, OffsetDateTime lastAccessedTime, OffsetDateTime expiresOn, BlobImmutabilityPolicy immutabilityPolicy, Boolean hasLegalHold) Constructs aBlobProperties
.- Parameters:
creationTime
- Creation time of the blob.lastModified
- Datetime when the blob was last modified.eTag
- ETag of the blob.blobSize
- Size of the blob.contentType
- Content type specified for the blob.contentMd5
- Content MD5 specified for the blob.contentEncoding
- Content encoding specified for the blob.contentDisposition
- Content disposition specified for the blob.contentLanguage
- Content language specified for the blob.cacheControl
- Cache control specified for the blob.blobSequenceNumber
- The current sequence number for a page blob, if the blob is an append or block blob passnull
.blobType
- Type of the blob.leaseStatus
- Status of the lease on the blob.leaseState
- State of the lease on the blob.leaseDuration
- Type of lease on the blob.copyId
- Identifier of the last copy operation performed on the blob.copyStatus
- Status of the last copy operation performed on the blob.copySource
- Source of the last copy operation performed on the blob.copyProgress
- Progress of the last copy operation performed on the blob.copyCompletionTime
- Datetime when the last copy operation on the blob completed.copyStatusDescription
- Description of the last copy operation on the blob.isServerEncrypted
- Flag indicating if the blob's content is encrypted on the server.isIncrementalCopy
- Flag indicating if the blob was incrementally copied.copyDestinationSnapshot
- Snapshot identifier of the last incremental copy snapshot for the blob.accessTier
- Access tier of the blob.isAccessTierInferred
- Flag indicating if the access tier of the blob was inferred from properties of the blob.archiveStatus
- Archive status of the blob.encryptionKeySha256
- SHA256 of the customer provided encryption key used to encrypt the blob on the server.encryptionScope
- The name of the encryption scope under which the blob is encrypted.accessTierChangeTime
- Datetime when the access tier of the blob last changed.metadata
- Metadata associated with the blob.committedBlockCount
- Number of blocks committed to an append blob, if the blob is a block or page blob passnull
.tagCount
- Number of tags associated with the blob.versionId
- The version identifier of the blob.isCurrentVersion
- Flag indicating if version identifier points to current version of the blob.objectReplicationSourcePolicies
- The already parsed object replication policies.objectReplicationDestinationPolicyId
- The policy id on the destination blob.rehydratePriority
- The rehydrate priorityisSealed
- Whether the blob is sealed.lastAccessedTime
- The date and time the blob was read or written to.expiresOn
- The time when the blob is going to expire.immutabilityPolicy
- The immutability policy of the blob.hasLegalHold
- Whether the blob has a legal hold.
-
BlobProperties
public BlobProperties(OffsetDateTime creationTime, OffsetDateTime lastModified, String eTag, long blobSize, String contentType, byte[] contentMd5, String contentEncoding, String contentDisposition, String contentLanguage, String cacheControl, Long blobSequenceNumber, BlobType blobType, LeaseStatusType leaseStatus, LeaseStateType leaseState, LeaseDurationType leaseDuration, String copyId, CopyStatusType copyStatus, String copySource, String copyProgress, OffsetDateTime copyCompletionTime, String copyStatusDescription, Boolean isServerEncrypted, Boolean isIncrementalCopy, String copyDestinationSnapshot, AccessTier accessTier, Boolean isAccessTierInferred, ArchiveStatus archiveStatus, String encryptionKeySha256, String encryptionScope, OffsetDateTime accessTierChangeTime, Map<String, String> metadata, Integer committedBlockCount, Long tagCount, String versionId, Boolean isCurrentVersion, List<ObjectReplicationPolicy> objectReplicationSourcePolicies, String objectReplicationDestinationPolicyId, RehydratePriority rehydratePriority, Boolean isSealed, OffsetDateTime lastAccessedTime, OffsetDateTime expiresOn, BlobImmutabilityPolicy immutabilityPolicy, Boolean hasLegalHold, String requestId) Constructs aBlobProperties
.- Parameters:
creationTime
- Creation time of the blob.lastModified
- Datetime when the blob was last modified.eTag
- ETag of the blob.blobSize
- Size of the blob.contentType
- Content type specified for the blob.contentMd5
- Content MD5 specified for the blob.contentEncoding
- Content encoding specified for the blob.contentDisposition
- Content disposition specified for the blob.contentLanguage
- Content language specified for the blob.cacheControl
- Cache control specified for the blob.blobSequenceNumber
- The current sequence number for a page blob, if the blob is an append or block blob passnull
.blobType
- Type of the blob.leaseStatus
- Status of the lease on the blob.leaseState
- State of the lease on the blob.leaseDuration
- Type of lease on the blob.copyId
- Identifier of the last copy operation performed on the blob.copyStatus
- Status of the last copy operation performed on the blob.copySource
- Source of the last copy operation performed on the blob.copyProgress
- Progress of the last copy operation performed on the blob.copyCompletionTime
- Datetime when the last copy operation on the blob completed.copyStatusDescription
- Description of the last copy operation on the blob.isServerEncrypted
- Flag indicating if the blob's content is encrypted on the server.isIncrementalCopy
- Flag indicating if the blob was incrementally copied.copyDestinationSnapshot
- Snapshot identifier of the last incremental copy snapshot for the blob.accessTier
- Access tier of the blob.isAccessTierInferred
- Flag indicating if the access tier of the blob was inferred from properties of the blob.archiveStatus
- Archive status of the blob.encryptionKeySha256
- SHA256 of the customer provided encryption key used to encrypt the blob on the server.encryptionScope
- The name of the encryption scope under which the blob is encrypted.accessTierChangeTime
- Datetime when the access tier of the blob last changed.metadata
- Metadata associated with the blob.committedBlockCount
- Number of blocks committed to an append blob, if the blob is a block or page blob passnull
.tagCount
- Number of tags associated with the blob.versionId
- The version identifier of the blob.isCurrentVersion
- Flag indicating if version identifier points to current version of the blob.objectReplicationSourcePolicies
- The already parsed object replication policies.objectReplicationDestinationPolicyId
- The policy id on the destination blob.rehydratePriority
- The rehydrate priorityisSealed
- Whether the blob is sealed.lastAccessedTime
- The date and time the blob was read or written to.expiresOn
- The time when the blob is going to expire.immutabilityPolicy
- The immutability policy of the blob.hasLegalHold
- Whether the blob has a legal hold.requestId
- The request id.
-
-
Method Details
-
getCreationTime
Gets the time when the blob was created.- Returns:
- the time when the blob was created
-
getLastModified
Gets the time when the blob was last modified.- Returns:
- the time when the blob was last modified
-
getETag
Gets the eTag of the blob.- Returns:
- the eTag of the blob
-
getBlobSize
public long getBlobSize()Gets the size of the blob in bytes.- Returns:
- the size of the blob in bytes
-
getContentType
Gets the content type of the blob.- Returns:
- the content type of the blob
-
getContentMd5
public byte[] getContentMd5()Gets the MD5 of the blob's content.- Returns:
- the MD5 of the blob's content
-
getContentEncoding
Gets the content encoding of the blob.- Returns:
- the content encoding of the blob
-
getContentDisposition
Gets the content disposition of the blob.- Returns:
- the content disposition of the blob
-
getContentLanguage
Gets the content language of the blob.- Returns:
- the content language of the blob
-
getCacheControl
Gets the cache control of the blob.- Returns:
- the cache control of the blob
-
getBlobSequenceNumber
Gets the current sequence number of the page blob. This is only returned for page blobs.- Returns:
- the current sequence number of the page blob. This is only returned for page blobs.
-
getBlobType
Gets the type of the blob.- Returns:
- the type of the blob
-
getLeaseStatus
Gets the lease status of the blob.- Returns:
- the lease status of the blob
-
getLeaseState
Gets the lease state of the blob.- Returns:
- the lease state of the blob
-
getLeaseDuration
Gets the lease duration of the blob, if the blob is leased.- Returns:
- the lease duration if the blob is leased
-
getCopyId
Gets the identifier of the last copy operation.- Returns:
- the identifier of the last copy operation. If this blob hasn't been the target of a copy operation or has been modified since this won't be set.
-
getCopyStatus
Gets the status of the last copy operation.- Returns:
- the status of the last copy operation. If this blob hasn't been the target of a copy operation or has been modified since this won't be set.
-
getCopySource
Gets the source blob URL from the last copy operation.- Returns:
- the source blob URL from the last copy operation. If this blob hasn't been the target of a copy operation or has been modified since this won't be set.
-
getCopyProgress
Gets the progress of the last copy operation.- Returns:
- the number of bytes copied and total bytes in the source from the last copy operation (bytes copied/total bytes). If this blob hasn't been the target of a copy operation or has been modified since this won't be set.
-
getCopyCompletionTime
Gets the completion time of the last copy operation.- Returns:
- the completion time of the last copy operation. If this blob hasn't been the target of a copy operation or has been modified since this won't be set.
-
getCopyStatusDescription
Gets the description of the last copy failure.- Returns:
- the description of the last copy failure, this is set when the
getCopyStatus
isfailed
oraborted
. If this blob hasn't been the target of a copy operation or has been modified since this won't be set.
-
isServerEncrypted
Gets the status of the blob being encrypted on the server.- Returns:
- the status of the blob being encrypted on the server
-
isIncrementalCopy
Gets the status of the blob being an incremental copy blob.- Returns:
- the status of the blob being an incremental copy blob
-
getCopyDestinationSnapshot
Gets the snapshot time of the last successful incremental copy snapshot for this blob.- Returns:
- the snapshot time of the last successful incremental copy snapshot for this blob. If this blob isn't an
incremental copy blob or incremental copy snapshot or
getCopyStatus
isn'tsuccess
this won't be set.
-
getAccessTier
Gets the access tier of the blob.- Returns:
- the tier of the blob. This is only set for Page blobs on a premium storage account or for Block blobs on blob storage or general purpose V2 account.
-
isAccessTierInferred
Gets the status of the tier being inferred for the blob.- Returns:
- the status of the tier being inferred for the blob. This is only set for Page blobs on a premium storage account or for Block blobs on blob storage or general purpose V2 account.
-
getArchiveStatus
Gets the archive status of the blob.- Returns:
- the archive status of the blob. This is only for blobs on a blob storage and general purpose v2 account.
-
getEncryptionKeySha256
Gets the SHA256 of the customer provided encryption key used to encrypt the blob on the server.- Returns:
- the key used to encrypt the blob
-
getEncryptionScope
Gets the name of the encryption scope under which the blob is encrypted.- Returns:
- The name of the encryption scope under which the blob is encrypted.
-
getAccessTierChangeTime
Gets the time when the access tier for the blob was last changed.- Returns:
- the time when the access tier for the blob was last changed
-
getMetadata
Gets the metadata associated with this blob.- Returns:
- the metadata associated with this blob
-
getCommittedBlockCount
Gets the number of committed blocks in the blob. This is only returned for Append blobs.- Returns:
- the number of committed blocks in the blob. This is only returned for Append blobs.
-
getTagCount
Gets the number of tags associated with the blob.- Returns:
- The number of tags associated with the blob.
-
getVersionId
Gets the version identifier of the blob.- Returns:
- the version identifier the blob.
-
isCurrentVersion
Gets the flag indicating whether version identifier points to current version of the blob.- Returns:
- the flag indicating whether version identifier points to current version of the blob.
-
getObjectReplicationSourcePolicies
Gets aList
that contains information on the object replication policies associated with this blob and the status of the replication for each policy. Only available when the blob is the source of object replication.- Returns:
- a
List
that contains information on the object replication policies associated with this blob and the status of the replication for each policy. Only available when the blob is the source of object replication.
-
getObjectReplicationDestinationPolicyId
Gets a string that identifies the Object Replication Policy which made this blob the destination of a copy.- Returns:
- a string that identifies the Object Replication Policy which made this blob the destination of a copy.
-
getRehydratePriority
Gets theRehydratePriority
of the blob if it is in RehydratePending state.- Returns:
- The
RehydratePriority
of the blob if it is in RehydratePending state.
-
isSealed
Gets the flag indicating whether this blob has been sealed (marked as read only). This is only returned for Append blobs.- Returns:
- the flag indicating whether this blob has been sealed (marked as read only). This is only returned for Append blobs.
-
getLastAccessedTime
Gets the date and time the blob was last read or written to.- Returns:
- The date and time the blob was last read or written to.
-
getExpiresOn
Gets the time when the blob is going to expire.- Returns:
- the time when the blob is going to expire.
-
getImmutabilityPolicy
Gets the immutability policy of the blob.- Returns:
- the immutability policy.
-
hasLegalHold
Gets the legal hold status of the blob.- Returns:
- whether the blob has a legal hold.
-
getRequestId
Gets the request id.- Returns:
- the x-ms-request id header value.
-