次の方法で共有


BlobProperties Class

  • java.lang.Object
    • com.azure.storage.blob.models.BlobProperties

public final class BlobProperties

This class contains the response information returned from the service when getting blob properties.

Constructor Summary

Constructor Description
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 a BlobProperties.

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 a BlobProperties.

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 a BlobProperties.

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 a BlobProperties.

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 a BlobProperties.

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 a BlobProperties.

Method Summary

Modifier and Type Method and Description
AccessTier getAccessTier()

Gets the access tier of the blob.

OffsetDateTime getAccessTierChangeTime()

Gets the time when the access tier for the blob was last changed.

ArchiveStatus getArchiveStatus()

Gets the archive status of the blob.

Long getBlobSequenceNumber()

Gets the current sequence number of the page blob.

long getBlobSize()

Gets the size of the blob in bytes.

BlobType getBlobType()

Gets the type of the blob.

String getCacheControl()

Gets the cache control of the blob.

Integer getCommittedBlockCount()

Gets the number of committed blocks in the blob.

String getContentDisposition()

Gets the content disposition of the blob.

String getContentEncoding()

Gets the content encoding of the blob.

String getContentLanguage()

Gets the content language of the blob.

byte[] getContentMd5()

Gets the MD5 of the blob's content.

String getContentType()

Gets the content type of the blob.

OffsetDateTime getCopyCompletionTime()

Gets the completion time of the last copy operation.

String getCopyDestinationSnapshot()

Gets the snapshot time of the last successful incremental copy snapshot for this blob.

String getCopyId()

Gets the identifier of the last copy operation.

String getCopyProgress()

Gets the progress of the last copy operation.

String getCopySource()

Gets the source blob URL from the last copy operation.

CopyStatusType getCopyStatus()

Gets the status of the last copy operation.

String getCopyStatusDescription()

Gets the description of the last copy failure.

OffsetDateTime getCreationTime()

Gets the time when the blob was created.

String getEncryptionKeySha256()

Gets the SHA256 of the customer provided encryption key used to encrypt the blob on the server.

String getEncryptionScope()

Gets the name of the encryption scope under which the blob is encrypted.

String getETag()

Gets the eTag of the blob.

OffsetDateTime getExpiresOn()

Gets the time when the blob is going to expire.

BlobImmutabilityPolicy getImmutabilityPolicy()

Gets the immutability policy of the blob.

OffsetDateTime getLastAccessedTime()

Gets the date and time the blob was last read or written to.

OffsetDateTime getLastModified()

Gets the time when the blob was last modified.

LeaseDurationType getLeaseDuration()

Gets the lease duration of the blob, if the blob is leased.

LeaseStateType getLeaseState()

Gets the lease state of the blob.

LeaseStatusType getLeaseStatus()

Gets the lease status of the blob.

Map<String,String> getMetadata()

Gets the metadata associated with this blob.

String getObjectReplicationDestinationPolicyId()

Gets a string that identifies the Object Replication Policy which made this blob the destination of a copy.

List<ObjectReplicationPolicy> getObjectReplicationSourcePolicies()

Gets a List that contains information on the object replication policies associated with this blob and the status of the replication for each policy.

RehydratePriority getRehydratePriority()

Gets the RehydratePriority of the blob if it is in RehydratePending state.

String getRequestId()

Gets the request id.

Long getTagCount()

Gets the number of tags associated with the blob.

String getVersionId()

Gets the version identifier of the blob.

Boolean hasLegalHold()

Gets the legal hold status of the blob.

Boolean isAccessTierInferred()

Gets the status of the tier being inferred for the blob.

Boolean isCurrentVersion()

Gets the flag indicating whether version identifier points to current version of the blob.

Boolean isIncrementalCopy()

Gets the status of the blob being an incremental copy blob.

Boolean isSealed()

Gets the flag indicating whether this blob has been sealed (marked as read only).

Boolean isServerEncrypted()

Gets the status of the blob being encrypted on the server.

Methods inherited from java.lang.Object

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, String encryptionScope, OffsetDateTime accessTierChangeTime, Map metadata, Integer committedBlockCount, Long tagCount, String versionId, Boolean isCurrentVersion, List objectReplicationSourcePolicies, String objectReplicationDestinationPolicyId)

Constructs a BlobProperties.

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 pass null.
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 pass null.
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 metadata, Integer committedBlockCount, Long tagCount, String versionId, Boolean isCurrentVersion, List objectReplicationSourcePolicies, String objectReplicationDestinationPolicyId, RehydratePriority rehydratePriority, Boolean isSealed, OffsetDateTime lastAccessedTime, OffsetDateTime expiresOn)

Constructs a BlobProperties.

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 pass null.
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 pass null.
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 priority
isSealed - 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 metadata, Integer committedBlockCount, Long tagCount, String versionId, Boolean isCurrentVersion, List objectReplicationSourcePolicies, String objectReplicationDestinationPolicyId, RehydratePriority rehydratePriority, Boolean isSealed, OffsetDateTime lastAccessedTime, OffsetDateTime expiresOn, BlobImmutabilityPolicy immutabilityPolicy, Boolean hasLegalHold)

Constructs a BlobProperties.

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 pass null.
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 pass null.
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 priority
isSealed - 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 metadata, Integer committedBlockCount, Long tagCount, String versionId, Boolean isCurrentVersion, List objectReplicationSourcePolicies, String objectReplicationDestinationPolicyId, RehydratePriority rehydratePriority, Boolean isSealed, OffsetDateTime lastAccessedTime, OffsetDateTime expiresOn, BlobImmutabilityPolicy immutabilityPolicy, Boolean hasLegalHold, String requestId)

Constructs a BlobProperties.

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 pass null.
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 pass null.
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 priority
isSealed - 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.

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 metadata, Integer committedBlockCount, String versionId, Boolean isCurrentVersion, Long tagCount, Map objectReplicationStatus, String rehydratePriority, Boolean isSealed)

Constructs a BlobProperties.

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 pass null.
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 pass null.
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 priority
isSealed - 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, OffsetDateTime accessTierChangeTime, Map metadata, Integer committedBlockCount)

Constructs a BlobProperties.

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 pass null.
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 pass null.

Method Details

getAccessTier

public AccessTier 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.

getAccessTierChangeTime

public OffsetDateTime 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

getArchiveStatus

public ArchiveStatus 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.

getBlobSequenceNumber

public Long 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.

getBlobSize

public long getBlobSize()

Gets the size of the blob in bytes.

Returns:

the size of the blob in bytes

getBlobType

public BlobType getBlobType()

Gets the type of the blob.

Returns:

the type of the blob

getCacheControl

public String getCacheControl()

Gets the cache control of the blob.

Returns:

the cache control of the blob

getCommittedBlockCount

public Integer 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.

getContentDisposition

public String getContentDisposition()

Gets the content disposition of the blob.

Returns:

the content disposition of the blob

getContentEncoding

public String getContentEncoding()

Gets the content encoding of the blob.

Returns:

the content encoding of the blob

getContentLanguage

public String getContentLanguage()

Gets the content language of the blob.

Returns:

the content language of the blob

getContentMd5

public byte[] getContentMd5()

Gets the MD5 of the blob's content.

Returns:

the MD5 of the blob's content

getContentType

public String getContentType()

Gets the content type of the blob.

Returns:

the content type of the blob

getCopyCompletionTime

public OffsetDateTime 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.

getCopyDestinationSnapshot

public String 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't SUCCESS this won't be set.

getCopyId

public String 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.

getCopyProgress

public String 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.

getCopySource

public String 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.

getCopyStatus

public CopyStatusType 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.

getCopyStatusDescription

public String getCopyStatusDescription()

Gets the description of the last copy failure.

Returns:

the description of the last copy failure, this is set when the getCopyStatus() is FAILED or ABORTED. If this blob hasn't been the target of a copy operation or has been modified since this won't be set.

getCreationTime

public OffsetDateTime getCreationTime()

Gets the time when the blob was created.

Returns:

the time when the blob was created

getEncryptionKeySha256

public String 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

public String 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.

getETag

public String getETag()

Gets the eTag of the blob.

Returns:

the eTag of the blob

getExpiresOn

public OffsetDateTime getExpiresOn()

Gets the time when the blob is going to expire.

Returns:

the time when the blob is going to expire.

getImmutabilityPolicy

public BlobImmutabilityPolicy getImmutabilityPolicy()

Gets the immutability policy of the blob.

Returns:

the immutability policy.

getLastAccessedTime

public OffsetDateTime 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.

getLastModified

public OffsetDateTime getLastModified()

Gets the time when the blob was last modified.

Returns:

the time when the blob was last modified

getLeaseDuration

public LeaseDurationType getLeaseDuration()

Gets the lease duration of the blob, if the blob is leased.

Returns:

the lease duration if the blob is leased

getLeaseState

public LeaseStateType getLeaseState()

Gets the lease state of the blob.

Returns:

the lease state of the blob

getLeaseStatus

public LeaseStatusType getLeaseStatus()

Gets the lease status of the blob.

Returns:

the lease status of the blob

getMetadata

public Map getMetadata()

Gets the metadata associated with this blob.

Returns:

the metadata associated with this blob

getObjectReplicationDestinationPolicyId

public String 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.

getObjectReplicationSourcePolicies

public List getObjectReplicationSourcePolicies()

Gets 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.

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.

getRehydratePriority

public RehydratePriority getRehydratePriority()

Gets the RehydratePriority of the blob if it is in RehydratePending state.

Returns:

The RehydratePriority of the blob if it is in RehydratePending state.

getRequestId

public String getRequestId()

Gets the request id.

Returns:

the x-ms-request id header value.

getTagCount

public Long getTagCount()

Gets the number of tags associated with the blob.

Returns:

The number of tags associated with the blob.

getVersionId

public String getVersionId()

Gets the version identifier of the blob.

Returns:

the version identifier the blob.

hasLegalHold

public Boolean hasLegalHold()

Gets the legal hold status of the blob.

Returns:

whether the blob has a legal hold.

isAccessTierInferred

public Boolean 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.

isCurrentVersion

public Boolean 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.

isIncrementalCopy

public Boolean isIncrementalCopy()

Gets the status of the blob being an incremental copy blob.

Returns:

the status of the blob being an incremental copy blob

isSealed

public Boolean 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.

isServerEncrypted

public Boolean isServerEncrypted()

Gets the status of the blob being encrypted on the server.

Returns:

the status of the blob being encrypted on the server

Applies to