共用方式為


PageBlobItem Class

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

public class PageBlobItem

This class contains the properties about a page blob.

Constructor Summary

Constructor Description
PageBlobItem(String eTag, OffsetDateTime lastModified, byte[] contentMd5, Boolean isServerEncrypted, String encryptionKeySha256, Long blobSequenceNumber)

Constructs a PageBlobItem.

PageBlobItem(String eTag, OffsetDateTime lastModified, byte[] contentMd5, Boolean isServerEncrypted, String encryptionKeySha256, String encryptionScope, Long blobSequenceNumber)

Constructs a PageBlobItem.

PageBlobItem(String eTag, OffsetDateTime lastModified, byte[] contentMd5, Boolean isServerEncrypted, String encryptionKeySha256, String encryptionScope, Long blobSequenceNumber, String versionId)

Constructs a PageBlobItem.

Method Summary

Modifier and Type Method and Description
Long getBlobSequenceNumber()
byte[] getContentMd5()
String getETag()
String getEncryptionKeySha256()
String getEncryptionScope()
OffsetDateTime getLastModified()
String getVersionId()
Boolean isServerEncrypted()

Methods inherited from java.lang.Object

Constructor Details

PageBlobItem

public PageBlobItem(String eTag, OffsetDateTime lastModified, byte[] contentMd5, Boolean isServerEncrypted, String encryptionKeySha256, Long blobSequenceNumber)

Constructs a PageBlobItem.

Parameters:

eTag - ETag of the page blob.
lastModified - Last modified time of the page blob.
contentMd5 - Content MD5 of the page blob.
isServerEncrypted - Flag indicating if the page blob is encrypted on the server.
encryptionKeySha256 - The encryption key used to encrypt the page blob.
blobSequenceNumber - The current sequence number for the page blob.

PageBlobItem

public PageBlobItem(String eTag, OffsetDateTime lastModified, byte[] contentMd5, Boolean isServerEncrypted, String encryptionKeySha256, String encryptionScope, Long blobSequenceNumber)

Constructs a PageBlobItem.

Parameters:

eTag - ETag of the page blob.
lastModified - Last modified time of the page blob.
contentMd5 - Content MD5 of the page blob.
isServerEncrypted - Flag indicating if the page blob is encrypted on the server.
encryptionKeySha256 - The encryption key used to encrypt the page blob.
encryptionScope - The encryption scope used to encrypt the page blob.
blobSequenceNumber - The current sequence number for the page blob.

PageBlobItem

public PageBlobItem(String eTag, OffsetDateTime lastModified, byte[] contentMd5, Boolean isServerEncrypted, String encryptionKeySha256, String encryptionScope, Long blobSequenceNumber, String versionId)

Constructs a PageBlobItem.

Parameters:

eTag - ETag of the page blob.
lastModified - Last modified time of the page blob.
contentMd5 - Content MD5 of the page blob.
isServerEncrypted - Flag indicating if the page blob is encrypted on the server.
encryptionKeySha256 - The encryption key used to encrypt the page blob.
encryptionScope - The encryption scope used to encrypt the page blob.
blobSequenceNumber - The current sequence number for the page blob.
versionId - The version identifier of the page blob.

Method Details

getBlobSequenceNumber

public Long getBlobSequenceNumber()

Returns:

the current sequence number of the page blob

getContentMd5

public byte[] getContentMd5()

Returns:

the MD5 of the page blob's content

getETag

public String getETag()

Returns:

the eTag of the page blob

getEncryptionKeySha256

public String getEncryptionKeySha256()

Returns:

the key used to encrypt the page blob

getEncryptionScope

public String getEncryptionScope()

Returns:

the encryption scope used to encrypt the page blob

getLastModified

public OffsetDateTime getLastModified()

Returns:

the time this page blob was last modified

getVersionId

public String getVersionId()

Returns:

the version identifier of the page blob

isServerEncrypted

public Boolean isServerEncrypted()

Returns:

the encryption status of the page blob on the server

Applies to