Package com.azure.storage.blob.models
Class AppendBlobItem
java.lang.Object
com.azure.storage.blob.models.AppendBlobItem
This class contains the properties about an append blob.
-
Constructor Summary
ConstructorDescriptionAppendBlobItem
(String eTag, OffsetDateTime lastModified, byte[] contentMd5, boolean isServerEncrypted, String encryptionKeySha256, String blobAppendOffset, Integer blobCommittedBlockCount) Constructs anAppendBlobItem
.AppendBlobItem
(String eTag, OffsetDateTime lastModified, byte[] contentMd5, boolean isServerEncrypted, String encryptionKeySha256, String encryptionScope, String blobAppendOffset, Integer blobCommittedBlockCount) Constructs anAppendBlobItem
.AppendBlobItem
(String eTag, OffsetDateTime lastModified, byte[] contentMd5, boolean isServerEncrypted, String encryptionKeySha256, String encryptionScope, String blobAppendOffset, Integer blobCommittedBlockCount, String versionId) Constructs anAppendBlobItem
. -
Method Summary
-
Constructor Details
-
AppendBlobItem
public AppendBlobItem(String eTag, OffsetDateTime lastModified, byte[] contentMd5, boolean isServerEncrypted, String encryptionKeySha256, String blobAppendOffset, Integer blobCommittedBlockCount) Constructs anAppendBlobItem
.- Parameters:
eTag
- ETag of the append blob.lastModified
- Last modified time of the append blob.contentMd5
- Content MD5 of the append blob.isServerEncrypted
- Flag indicating if the page blob is encrypted on the server.encryptionKeySha256
- The encryption key used to encrypt the page blob.blobAppendOffset
- The offset at which the block was committed to the block blob.blobCommittedBlockCount
- The number of committed blocks in the block blob.
-
AppendBlobItem
public AppendBlobItem(String eTag, OffsetDateTime lastModified, byte[] contentMd5, boolean isServerEncrypted, String encryptionKeySha256, String encryptionScope, String blobAppendOffset, Integer blobCommittedBlockCount) Constructs anAppendBlobItem
.- Parameters:
eTag
- ETag of the append blob.lastModified
- Last modified time of the append blob.contentMd5
- Content MD5 of the append blob.isServerEncrypted
- Flag indicating if the page blob is encrypted on the server.encryptionKeySha256
- The encryption key used to encrypt the append blob.encryptionScope
- The encryption scope used to encrypt the append blob.blobAppendOffset
- The offset at which the block was committed to the append blob.blobCommittedBlockCount
- The number of committed blocks in the append blob.
-
AppendBlobItem
public AppendBlobItem(String eTag, OffsetDateTime lastModified, byte[] contentMd5, boolean isServerEncrypted, String encryptionKeySha256, String encryptionScope, String blobAppendOffset, Integer blobCommittedBlockCount, String versionId) Constructs anAppendBlobItem
.- Parameters:
eTag
- ETag of the append blob.lastModified
- Last modified time of the append blob.contentMd5
- Content MD5 of the append blob.isServerEncrypted
- Flag indicating if the page blob is encrypted on the server.encryptionKeySha256
- The encryption key used to encrypt the append blob.encryptionScope
- The encryption scope used to encrypt the append blob.blobAppendOffset
- The offset at which the block was committed to the append blob.blobCommittedBlockCount
- The number of committed blocks in the append blob.versionId
- The version identifier of the append blob.
-
-
Method Details
-
getETag
- Returns:
- the eTag of the append blob
-
getLastModified
- Returns:
- the time this append blob was last modified
-
isServerEncrypted
public boolean isServerEncrypted()- Returns:
- the encryption status of the append blob on the server
-
getEncryptionKeySha256
- Returns:
- the key that was used to encrypt the append blob
-
getEncryptionScope
- Returns:
- the encryption scope that was used to encrypt the append blob
-
getContentMd5
public byte[] getContentMd5()- Returns:
- the calculated MD5 of the append blob
-
getBlobAppendOffset
- Returns:
- the offset of the append blob
-
getBlobCommittedBlockCount
- Returns:
- the number of committed blocks in the append blob
-
getVersionId
- Returns:
- the version identifier of the append blob
-