次の方法で共有


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

Gets the current sequence number of the page blob.

byte[] getContentMd5()

Gets the MD5 of the page blob's content.

String getEncryptionKeySha256()

Gets the key used to encrypt the page blob.

String getEncryptionScope()

Gets the encryption scope used to encrypt the page blob.

String getETag()

Gets the eTag of the page blob.

OffsetDateTime getLastModified()

Gets the time this page blob was last modified.

String getVersionId()

Gets the version identifier of the page blob.

Boolean isServerEncrypted()

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

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

Gets the current sequence number of the page blob.

Returns:

the current sequence number of 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

getEncryptionKeySha256

public String getEncryptionKeySha256()

Gets the key used to encrypt the page blob.

Returns:

the key used to encrypt the page blob

getEncryptionScope

public String getEncryptionScope()

Gets the encryption scope used to encrypt the page blob.

Returns:

the encryption scope used to encrypt the page blob

getETag

public String getETag()

Gets the eTag of the page blob.

Returns:

the eTag of the page blob

getLastModified

public OffsetDateTime getLastModified()

Gets the time this page blob was last modified.

Returns:

the time this page blob was last modified

getVersionId

public String getVersionId()

Gets the version identifier of the page blob.

Returns:

the version identifier of the page blob

isServerEncrypted

public Boolean isServerEncrypted()

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

Returns:

the encryption status of the page blob on the server

Applies to