Class AppendBlobItem

java.lang.Object
com.azure.storage.blob.models.AppendBlobItem

public class AppendBlobItem extends Object
This class contains the properties about an append blob.
  • Constructor Details

    • AppendBlobItem

      public AppendBlobItem(String eTag, OffsetDateTime lastModified, byte[] contentMd5, boolean isServerEncrypted, String encryptionKeySha256, String blobAppendOffset, Integer blobCommittedBlockCount)
      Constructs an AppendBlobItem.
      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 an AppendBlobItem.
      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 an AppendBlobItem.
      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

      public String getETag()
      Returns:
      the eTag of the append blob
    • getLastModified

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

      public String getEncryptionKeySha256()
      Returns:
      the key that was used to encrypt the append blob
    • getEncryptionScope

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

      public String getBlobAppendOffset()
      Returns:
      the offset of the append blob
    • getBlobCommittedBlockCount

      public Integer getBlobCommittedBlockCount()
      Returns:
      the number of committed blocks in the append blob
    • getVersionId

      public String getVersionId()
      Returns:
      the version identifier of the append blob