AppendBlobItem Class

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

public class AppendBlobItem

This class contains the properties about an append blob.

Constructor Summary

Constructor Description
AppendBlobItem(String eTag, OffsetDateTime lastModified, byte[] contentMd5, boolean isServerEncrypted, String encryptionKeySha256, String blobAppendOffset, Integer blobCommittedBlockCount)

Constructs an AppendBlobItem.

AppendBlobItem(String eTag, OffsetDateTime lastModified, byte[] contentMd5, boolean isServerEncrypted, String encryptionKeySha256, String encryptionScope, String blobAppendOffset, Integer blobCommittedBlockCount)

Constructs an AppendBlobItem.

AppendBlobItem(String eTag, OffsetDateTime lastModified, byte[] contentMd5, boolean isServerEncrypted, String encryptionKeySha256, String encryptionScope, String blobAppendOffset, Integer blobCommittedBlockCount, String versionId)

Constructs an AppendBlobItem.

Method Summary

Modifier and Type Method and Description
String getBlobAppendOffset()
Integer getBlobCommittedBlockCount()
byte[] getContentMd5()
String getETag()
String getEncryptionKeySha256()
String getEncryptionScope()
OffsetDateTime getLastModified()
String getVersionId()
boolean isServerEncrypted()

Methods inherited from java.lang.Object

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

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

getContentMd5

public byte[] getContentMd5()

Returns:

the calculated MD5 of the append blob

getETag

public String getETag()

Returns:

the eTag of the append blob

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

getLastModified

public OffsetDateTime getLastModified()

Returns:

the time this append blob was last modified

getVersionId

public String getVersionId()

Returns:

the version identifier of the append blob

isServerEncrypted

public boolean isServerEncrypted()

Returns:

the encryption status of the append blob on the server

Applies to