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.
|
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.
|
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;
|
protected void |
setAppendBlobCommittedBlockCount(Integer appendBlobCommittedBlockCount)
If the blob is an append blob, sets the number of committed blocks.
|
protected void |
setBlobTierInferred(Boolean isBlobTierInferredTier)
Sets whether the blob tier is inferred.
|
protected void |
setBlobType(BlobType blobType)
Sets the blob type.
|
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.
|
protected void |
setCopyState(CopyState copyState)
Sets the copy state value for the blob
|
protected void |
setEtag(String etag)
Sets the ETag value for the blob.
|
protected void |
setIncrementalCopy(boolean isIncrementalCopy)
Sets whether the blob is an incremental copy.
|
protected void |
setLastModified(Date lastModified)
Sets the last modified time for the blob.
|
protected void |
setLeaseDuration(LeaseDuration leaseDuration)
Sets the lease duration for the blob.
|
protected void |
setLeaseState(LeaseState leaseState)
Sets the lease state for the blob.
|
protected void |
setLeaseStatus(LeaseStatus leaseStatus)
Sets the lease status for the blob.
|
protected void |
setLength(long length)
Sets the content length, in bytes, for the blob.
|
protected void |
setPageBlobSequenceNumber(Long pageBlobSequenceNumber)
If the blob is a page blob, sets the blob's current sequence number.
|
protected void |
setPremiumPageBlobTier(PremiumPageBlobTier premiumPageBlobTier)
Sets the tier of the page blob.
|
protected void |
setRehydrationStatus(RehydrationStatus rehydrationStatus)
Sets the rehydration status of the blob.
|
protected void |
setServerEncrypted(boolean serverEncrypted)
Sets the blob's server-side encryption status.
|
protected void |
setStandardBlobTier(StandardBlobTier standardBlobTier)
Sets the tier of the block blob.
|
protected void |
setTierChangeTime(Date tierChangeTime)
Sets the last time the tier was modified on 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 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()
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 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.protected void setAppendBlobCommittedBlockCount(Integer appendBlobCommittedBlockCount)
appendBlobCommittedBlockCount
- A Integer
value that represents the number of committed blocks.protected void setBlobType(BlobType blobType)
blobType
- A BlobType
object which specifies the blob type to set.protected void setCopyState(CopyState copyState)
copyState
- A CopyState
object which specifies the copy state value to set.protected void setEtag(String etag)
etag
- A String
which specifies the ETag value to set.protected void setLastModified(Date lastModified)
lastModified
- A Date
object which specifies the last modified time to set.protected void setLeaseStatus(LeaseStatus leaseStatus)
leaseStatus
- A LeaseStatus
object which specifies the lease status value to set.protected void setLeaseState(LeaseState leaseState)
leaseState
- A LeaseState
object which specifies the lease state value to set.protected void setLeaseDuration(LeaseDuration leaseDuration)
leaseDuration
- A LeaseDuration
object which specifies the lease duration value to set.protected void setLength(long length)
length
- A long
which specifies the length to set.protected void setPageBlobSequenceNumber(Long pageBlobSequenceNumber)
pageBlobSequenceNumber
- A long containing the blob's current sequence number.protected void setServerEncrypted(boolean serverEncrypted)
serverEncrypted
- A boolean
which specifies the encryption status to set.protected void setIncrementalCopy(boolean isIncrementalCopy)
isIncrementalCopy
- A boolean
which specifies if the blob is an incremental copy.protected void setPremiumPageBlobTier(PremiumPageBlobTier premiumPageBlobTier)
premiumPageBlobTier
- A PremiumPageBlobTier
object which represents the tier of the blob.protected void setStandardBlobTier(StandardBlobTier standardBlobTier)
standardBlobTier
- A StandardBlobTier
object which represents the tier of the blob.protected void setBlobTierInferred(Boolean isBlobTierInferredTier)
isBlobTierInferredTier
- A which specifies if the blob tier is inferred.protected void setTierChangeTime(Date tierChangeTime)
tierChangeTime
- A Date
which specifies the last time the tier was modified.protected void setRehydrationStatus(RehydrationStatus rehydrationStatus)
rehydrationStatus
- A which specifies the rehydration status of the blob.Copyright © 2019. All rights reserved.