次の方法で共有


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()

Gets the offset of the append blob.

Integer getBlobCommittedBlockCount()

Gets the number of committed blocks in the append blob.

byte[] getContentMd5()

Gets the calculated MD5 of the append blob.

String getEncryptionKeySha256()

Gets the key that was used to encrypt the append blob.

String getEncryptionScope()

Gets the encryption scope that was used to encrypt the append blob.

String getETag()

Gets the eTag of the append blob.

OffsetDateTime getLastModified()

Gets the time this append blob was last modified.

String getVersionId()

Gets the version identifier of the append blob.

boolean isServerEncrypted()

Gets the encryption status of the append blob on the server.

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()

Gets the offset of the append blob.

Returns:

the offset of the append blob

getBlobCommittedBlockCount

public Integer getBlobCommittedBlockCount()

Gets the number of committed blocks in the append blob.

Returns:

the number of committed blocks in the append blob

getContentMd5

public byte[] getContentMd5()

Gets the calculated MD5 of the append blob.

Returns:

the calculated MD5 of the append blob

getEncryptionKeySha256

public String getEncryptionKeySha256()

Gets the key that was used to encrypt the append blob.

Returns:

the key that was used to encrypt the append blob

getEncryptionScope

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

getETag

public String getETag()

Gets the eTag of the append blob.

Returns:

the eTag of the append blob

getLastModified

public OffsetDateTime getLastModified()

Gets the time this append blob was last modified.

Returns:

the time this append blob was last modified

getVersionId

public String getVersionId()

Gets the version identifier of the append blob.

Returns:

the version identifier of the append blob

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

Applies to