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
ConstructorsConstructorDescriptionPageBlobItem
(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
Modifier and TypeMethodDescriptionGets the current sequence number of the page blob.byte[]
Gets the MD5 of the page blob's content.Gets the key used to encrypt the page blob.Gets the encryption scope used to encrypt the page blob.getETag()
Gets the eTag of the page blob.Gets the time this page blob was last modified.Gets the version identifier of the page blob.Gets the encryption status of the page blob on the server.
-
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
Gets the eTag of the page blob.- Returns:
- the eTag of the page blob
-
getLastModified
Gets the time this page blob was last modified.- Returns:
- the time this page blob was last modified
-
isServerEncrypted
Gets the encryption status of the page blob on the server.- Returns:
- the encryption status of the page blob on the server
-
getEncryptionKeySha256
Gets the key used to encrypt the page blob.- Returns:
- the key used to encrypt the page blob
-
getEncryptionScope
Gets the encryption scope used to encrypt the page blob.- Returns:
- the encryption scope used to encrypt the page blob
-
getContentMd5
public byte[] getContentMd5()Gets the MD5 of the page blob's content.- Returns:
- the MD5 of the page blob's content
-
getBlobSequenceNumber
Gets the current sequence number of the page blob.- Returns:
- the current sequence number of the page blob
-
getVersionId
Gets the version identifier of the page blob.- Returns:
- the version identifier of the page blob
-