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
ConstructorsConstructorDescriptionAppendBlobItem
(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
Modifier and TypeMethodDescriptionGets the offset of the append blob.Gets the number of committed blocks in the append blob.byte[]
Gets the calculated MD5 of the append blob.Gets the key that was used to encrypt the append blob.Gets the encryption scope that was used to encrypt the append blob.getETag()
Gets the eTag of the append blob.Gets the time this append blob was last modified.Gets the version identifier of the append blob.boolean
Gets the encryption status of the append blob on the server.
-
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
Gets the eTag of the append blob.- Returns:
- the eTag of the append blob
-
getLastModified
Gets the time this append blob was last modified.- Returns:
- the time this append blob was last modified
-
isServerEncrypted
public boolean isServerEncrypted()Gets the encryption status of the append blob on the server.- Returns:
- the encryption status of the append blob on the server
-
getEncryptionKeySha256
Gets the key that was used to encrypt the append blob.- Returns:
- the key that was used to encrypt the append blob
-
getEncryptionScope
Gets the encryption scope that was used to encrypt the append blob.- Returns:
- the encryption scope that was used to encrypt the append blob
-
getContentMd5
public byte[] getContentMd5()Gets the calculated MD5 of the append blob.- Returns:
- the calculated MD5 of the append blob
-
getBlobAppendOffset
Gets the offset of the append blob.- Returns:
- the offset of the append blob
-
getBlobCommittedBlockCount
Gets the number of committed blocks in the append blob.- Returns:
- the number of committed blocks in the append blob
-
getVersionId
Gets the version identifier of the append blob.- Returns:
- the version identifier of the append blob
-