Package com.azure.storage.blob.models
Class PageBlobItem
java.lang.Object
com.azure.storage.blob.models.PageBlobItem
This class contains the properties about a page blob.
-
Constructor Summary
ConstructorDescriptionPageBlobItem
(String eTag, OffsetDateTime lastModified, byte[] contentMd5, Boolean isServerEncrypted, String encryptionKeySha256, Long blobSequenceNumber) Constructs aPageBlobItem
.PageBlobItem
(String eTag, OffsetDateTime lastModified, byte[] contentMd5, Boolean isServerEncrypted, String encryptionKeySha256, String encryptionScope, Long blobSequenceNumber) Constructs aPageBlobItem
.PageBlobItem
(String eTag, OffsetDateTime lastModified, byte[] contentMd5, Boolean isServerEncrypted, String encryptionKeySha256, String encryptionScope, Long blobSequenceNumber, String versionId) Constructs aPageBlobItem
. -
Method Summary
-
Constructor Details
-
PageBlobItem
public PageBlobItem(String eTag, OffsetDateTime lastModified, byte[] contentMd5, Boolean isServerEncrypted, String encryptionKeySha256, Long blobSequenceNumber) Constructs aPageBlobItem
.- 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 aPageBlobItem
.- 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 aPageBlobItem
.- 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
-
getETag
- Returns:
- the eTag of the page blob
-
getLastModified
- Returns:
- the time this page blob was last modified
-
isServerEncrypted
- Returns:
- the encryption status of the page blob on the server
-
getEncryptionKeySha256
- Returns:
- the key used to encrypt the page blob
-
getEncryptionScope
- Returns:
- the encryption scope used to encrypt the page blob
-
getContentMd5
public byte[] getContentMd5()- Returns:
- the MD5 of the page blob's content
-
getBlobSequenceNumber
- Returns:
- the current sequence number of the page blob
-
getVersionId
- Returns:
- the version identifier of the page blob
-