public final class BlobProperties extends Object
| Constructor and Description |
|---|
BlobProperties()
Creates an instance of the
BlobProperties class. |
BlobProperties(BlobProperties other)
Creates an instance of the
BlobProperties class by copying values from another instance of the
BlobProperties class. |
BlobProperties(BlobType type)
Creates an instance of the
BlobProperties class. |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getAppendBlobCommittedBlockCount()
If the blob is an append blob, gets the number of committed blocks.
|
BlobType |
getBlobType()
Gets the blob type for the blob.
|
String |
getCacheControl()
Gets the cache control value for the blob.
|
String |
getContentDisposition()
Gets the content disposition value for the blob.
|
String |
getContentEncoding()
Gets the content encoding value for the blob.
|
String |
getContentLanguage()
Gets the content language value for the blob.
|
String |
getContentMD5()
Gets the content MD5 value for the blob.
|
String |
getContentType()
Gets the content type value for the blob.
|
CopyState |
getCopyState()
Gets the blob's copy state.
|
Date |
getCreatedTime()
Gets the time when the blob was created.
|
Date |
getDeletedTime()
Gets the time when the blob was deleted.
|
String |
getEtag()
Gets the ETag value for the blob.
|
Date |
getLastModified()
Gets the last modified time for the blob.
|
LeaseDuration |
getLeaseDuration()
Gets the lease duration for the blob.
|
LeaseState |
getLeaseState()
Gets the lease state for the blob.
|
LeaseStatus |
getLeaseStatus()
Gets the lease status for the blob.
|
long |
getLength()
Gets the size, in bytes, of the blob.
|
Long |
getPageBlobSequenceNumber()
If the blob is a page blob, gets the page blob's current sequence number.
|
PremiumPageBlobTier |
getPremiumPageBlobTier()
If using a premium account and the blob is a page blob, gets the tier of the blob.
|
RehydrationStatus |
getRehydrationStatus()
The rehydration status if the blob is being rehydrated
and the tier of the blob once the rehydration from archive has completed.
|
Integer |
getRemainingRetentionDays()
Gets the number of days that the deleted blob will be kept by the service.
|
StandardBlobTier |
getStandardBlobTier()
If using a standard account and the blob is a block blob, gets the tier of the blob.
|
Date |
getTierChangeTime()
Gets a value indicating the last time the tier was changed on the blob.
|
Boolean |
isBlobTierInferred()
Gets a value indicating if the tier of the blob has been inferred.
|
boolean |
isIncrementalCopy()
Gets if the blob is an incremental copy
|
boolean |
isServerEncrypted()
Gets the blob's server-side encryption status;
|
void |
setCacheControl(String cacheControl)
Sets the cache control value for the blob.
|
void |
setContentDisposition(String contentDisposition)
Sets the content disposition value for the blob.
|
void |
setContentEncoding(String contentEncoding)
Sets the content encoding value for the blob.
|
void |
setContentLanguage(String contentLanguage)
Sets the content language for the blob.
|
void |
setContentMD5(String contentMD5)
Sets the content MD5 value for the blob.
|
void |
setContentType(String contentType)
Sets the content type value for the blob.
|
public BlobProperties()
BlobProperties class.public BlobProperties(BlobProperties other)
BlobProperties class by copying values from another instance of the
BlobProperties class.other - A BlobProperties object which represents the blob properties to copy.public BlobProperties(BlobType type)
BlobProperties class.type - A BlobType object which represents the blob type.public Integer getAppendBlobCommittedBlockCount()
Integer value that represents the number of committed blocks.public BlobType getBlobType()
BlobType value that represents the blob type.public String getCacheControl()
String which represents the content cache control value for the blob.public String getContentDisposition()
String which represents the content disposition, or null if content disposition has not been set
on the blob.public String getContentEncoding()
String which represents the content encoding, or null if content encoding has not been set
on the blob.public String getContentLanguage()
String which represents the content language, or null if content language has not been set on
the blob.public String getContentMD5()
String which represents the content MD5 value.public String getContentType()
String which represents the content type, or null if the content type has not be set for the blob.public CopyState getCopyState()
CopyState object which represents the copy state of the blob.public Date getCreatedTime()
Date object which represents the time when the blob was created.public String getEtag()
The ETag value is a unique identifier that is updated when a write operation is performed against the container. It may be used to perform operations conditionally, providing concurrency control and improved efficiency.
The AccessCondition.generateIfMatchCondition(String) and
AccessCondition.generateIfNoneMatchCondition(String) methods take an ETag value and return an
AccessCondition object that may be specified on the request.
String which represents the ETag value.public Date getLastModified()
Date object which represents the last modified time.public Boolean isBlobTierInferred()
Boolean object which represents if the blob tier was inferred.public Date getTierChangeTime()
Date object which represents the last time the tier was changed.public LeaseStatus getLeaseStatus()
LeaseStatus object which represents the lease status.public LeaseState getLeaseState()
LeaseState object which represents the lease state.public LeaseDuration getLeaseDuration()
LeaseDuration object which represents the lease duration.public long getLength()
long which represents the length of the blob.public Long getPageBlobSequenceNumber()
Long containing the page blob's current sequence number.public PremiumPageBlobTier getPremiumPageBlobTier()
PremiumPageBlobTier object which represents the tier of the blob
or null if the tier has not been set.public StandardBlobTier getStandardBlobTier()
StandardBlobTier object which represents the tier of the blob
or null if the tier has not been set.public RehydrationStatus getRehydrationStatus()
public boolean isServerEncrypted()
boolean which specifies the blob's encryption status.public boolean isIncrementalCopy()
boolean which specifies if the blob is an incremental copy.public Date getDeletedTime()
Date object which represents the time when the blob was deleted. It returns null if the blob has not been deleted.public Integer getRemainingRetentionDays()
Integer value that represents the number of days that the deleted blob will be kept by the service.public void setCacheControl(String cacheControl)
cacheControl - A String which specifies the cache control value to set.public void setContentDisposition(String contentDisposition)
contentDisposition - A String which specifies the content disposition value to set.public void setContentEncoding(String contentEncoding)
contentEncoding - A String which specifies the content encoding value to set.public void setContentLanguage(String contentLanguage)
contentLanguage - A String which specifies the content language value to set.public void setContentMD5(String contentMD5)
contentMD5 - A String which specifies the content MD5 value to set.public void setContentType(String contentType)
contentType - A String which specifies the content type value to set.Copyright © 2018. All Rights Reserved.