Package com.azure.storage.blob.models
Class PageBlobItem
- java.lang.Object
-
- com.azure.storage.blob.models.PageBlobItem
-
public class PageBlobItem extends Object
This class contains the properties about a page blob.
-
-
Constructor Summary
Constructors Constructor Description PageBlobItem(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
getBlobSequenceNumber()
byte[]
getContentMd5()
String
getEncryptionKeySha256()
String
getEncryptionScope()
String
getETag()
OffsetDateTime
getLastModified()
String
getVersionId()
Boolean
isServerEncrypted()
-
-
-
Constructor Detail
-
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 Detail
-
getETag
public String getETag()
- Returns:
- the eTag of the page blob
-
getLastModified
public OffsetDateTime getLastModified()
- Returns:
- the time this page blob was last modified
-
isServerEncrypted
public Boolean isServerEncrypted()
- Returns:
- the encryption status of the page blob on the server
-
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
-
getContentMd5
public byte[] getContentMd5()
- Returns:
- the MD5 of the page blob's content
-
getBlobSequenceNumber
public Long getBlobSequenceNumber()
- Returns:
- the current sequence number of the page blob
-
getVersionId
public String getVersionId()
- Returns:
- the version identifier of the page blob
-
-