BlockBlobItem Class
- java.
lang. Object - com.
azure. storage. blob. models. BlockBlobItem
- com.
public class BlockBlobItem
This class contains the properties about a block blob.
Constructor Summary
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 e |
Offset |
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:
BlockBlobItem
@Deprecated
public BlockBlobItem(String eTag, OffsetDateTime lastModified, byte[] contentMd5, boolean isServerEncrypted, String encryptionKeySha256, String encryptionScope)
Deprecated
Constructs a BlockBlobItem.
Parameters:
BlockBlobItem
@Deprecated
public BlockBlobItem(String eTag, OffsetDateTime lastModified, byte[] contentMd5, boolean isServerEncrypted, String encryptionKeySha256, String encryptionScope, String versionId)
Deprecated
Constructs a BlockBlobItem.
Parameters:
BlockBlobItem
public BlockBlobItem(String eTag, OffsetDateTime lastModified, byte[] contentMd5, Boolean isServerEncrypted, String encryptionKeySha256, String encryptionScope, String versionId)
Constructs a BlockBlobItem.
Parameters:
Method Details
getContentMd5
public byte[] getContentMd5()
Gets the MD5 of the block blob's content.
Returns:
getEncryptionKeySha256
public String getEncryptionKeySha256()
Gets the key used to encrypt the block blob.
Returns:
getEncryptionScope
public String getEncryptionScope()
Gets the encryption scope used to encrypt the block blob.
Returns:
getETag
public String getETag()
Gets the eTag of the block blob.
Returns:
getLastModified
public OffsetDateTime getLastModified()
Gets the last time the block blob was modified.
Returns:
getVersionId
public String getVersionId()
Gets the version identifier of the block blob.
Returns:
isServerEncrypted
public Boolean isServerEncrypted()
Gets the encryption status of the block blob on the server.
Returns: