次の方法で共有


BlockBlobItem Class

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

public class BlockBlobItem

This class contains the properties about a block blob.

Constructor Summary

Constructor Description
BlockBlobItem(String eTag, OffsetDateTime lastModified, byte[] contentMd5, boolean isServerEncrypted, String encryptionKeySha256)

Deprecated

Constructs a BlockBlobItem.

BlockBlobItem(String eTag, OffsetDateTime lastModified, byte[] contentMd5, boolean isServerEncrypted, String encryptionKeySha256, String encryptionScope)

Deprecated

Constructs a BlockBlobItem.

BlockBlobItem(String eTag, OffsetDateTime lastModified, byte[] contentMd5, boolean isServerEncrypted, String encryptionKeySha256, String encryptionScope, String versionId)

Deprecated

Constructs a BlockBlobItem.

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

Constructs a BlockBlobItem.

Method Summary

Modifier and Type Method and Description
byte[] getContentMd5()

Gets the MD5 of the block blob's content.

String getEncryptionKeySha256()

Gets the key used to encrypt the block blob.

String getEncryptionScope()

Gets the encryption scope used to encrypt the block blob.

String getETag()

Gets the eTag of the block blob.

OffsetDateTime getLastModified()

Gets the last time the block blob was modified.

String getVersionId()

Gets the version identifier of the block blob.

Boolean isServerEncrypted()

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

Methods inherited from java.lang.Object

Constructor Details

BlockBlobItem

@Deprecated
public BlockBlobItem(String eTag, OffsetDateTime lastModified, byte[] contentMd5, boolean isServerEncrypted, String encryptionKeySha256)

Deprecated

Constructs a BlockBlobItem.

Parameters:

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

BlockBlobItem

@Deprecated
public BlockBlobItem(String eTag, OffsetDateTime lastModified, byte[] contentMd5, boolean isServerEncrypted, String encryptionKeySha256, String encryptionScope)

Deprecated

Constructs a BlockBlobItem.

Parameters:

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

BlockBlobItem

@Deprecated
public BlockBlobItem(String eTag, OffsetDateTime lastModified, byte[] contentMd5, boolean isServerEncrypted, String encryptionKeySha256, String encryptionScope, String versionId)

Deprecated

Constructs a BlockBlobItem.

Parameters:

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

BlockBlobItem

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

Constructs a BlockBlobItem.

Parameters:

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

Method Details

getContentMd5

public byte[] getContentMd5()

Gets the MD5 of the block blob's content.

Returns:

the MD5 of the block blob's comment

getEncryptionKeySha256

public String getEncryptionKeySha256()

Gets the key used to encrypt the block blob.

Returns:

the key used to encrypt the block blob

getEncryptionScope

public String getEncryptionScope()

Gets the encryption scope used to encrypt the block blob.

Returns:

the encryption scope used to encrypt the block blob

getETag

public String getETag()

Gets the eTag of the block blob.

Returns:

the eTag of the block blob

getLastModified

public OffsetDateTime getLastModified()

Gets the last time the block blob was modified.

Returns:

the last time the block blob was modified

getVersionId

public String getVersionId()

Gets the version identifier of the block blob.

Returns:

the version identifier of the block blob

isServerEncrypted

public Boolean isServerEncrypted()

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

Returns:

the encryption status of the block blob on the server

Applies to