BlobItemProperties Class
- java.
lang. Object - com.
azure. storage. blob. models. BlobItemProperties
- com.
public final class BlobItemProperties
Properties of a blob.
Constructor Summary
Constructor | Description |
---|---|
BlobItemProperties() |
Constructs a new instance of BlobItemProperties. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Access |
getAccessTier()
Get the access |
Offset |
getAccessTierChangeTime()
Get the access |
Archive |
getArchiveStatus()
Get the archive |
Long |
getBlobSequenceNumber()
Get the blob |
Blob |
getBlobType()
Get the blob |
String |
getCacheControl()
Get the cache |
String |
getContentDisposition()
Get the content |
String |
getContentEncoding()
Get the content |
String |
getContentLanguage()
Get the content |
Long |
getContentLength()
Get the content |
byte[] |
getContentMd5()
Get the content |
String |
getContentType()
Get the content |
Offset |
getCopyCompletionTime()
Get the copy |
String |
getCopyId()
Get the copy |
String |
getCopyProgress()
Get the copy |
String |
getCopySource()
Get the copy |
Copy |
getCopyStatus()
Get the copy |
String |
getCopyStatusDescription()
Get the copy |
Offset |
getCreationTime()
Get the creation |
String |
getCustomerProvidedKeySha256()
Get the customer |
Offset |
getDeletedTime()
Get the deleted |
String |
getDestinationSnapshot()
Get the destination |
String |
getETag()
Get the e |
String |
getEncryptionScope()
Get the encryption |
Offset |
getExpiryTime()
Get the expiry |
Blob |
getImmutabilityPolicy()
Get the immutability |
Offset |
getLastAccessedTime()
Get the last |
Offset |
getLastModified()
Get the last |
Lease |
getLeaseDuration()
Get the lease |
Lease |
getLeaseState()
Get the lease |
Lease |
getLeaseStatus()
Get the lease |
Rehydrate |
getRehydratePriority()
Get the rehydrate |
Integer |
getRemainingRetentionDays()
Get the remaining |
Integer |
getTagCount()
Get the tag |
Boolean |
hasLegalHold()
Get the has |
Boolean |
isAccessTierInferred()
Get the access |
Boolean |
isIncrementalCopy()
Get the incremental |
Boolean |
isSealed()
Get the sealed property: The sealed property. |
Boolean |
isServerEncrypted()
Get the server |
Blob |
setAccessTier(AccessTier accessTier)
Set the access |
Blob |
setAccessTierChangeTime(OffsetDateTime accessTierChangeTime)
Set the access |
Blob |
setAccessTierInferred(Boolean accessTierInferred)
Set the access |
Blob |
setArchiveStatus(ArchiveStatus archiveStatus)
Set the archive |
Blob |
setBlobSequenceNumber(Long blobSequenceNumber)
Set the blob |
Blob |
setBlobType(BlobType blobType)
Set the blob |
Blob |
setCacheControl(String cacheControl)
Set the cache |
Blob |
setContentDisposition(String contentDisposition)
Set the content |
Blob |
setContentEncoding(String contentEncoding)
Set the content |
Blob |
setContentLanguage(String contentLanguage)
Set the content |
Blob |
setContentLength(Long contentLength)
Set the content |
Blob |
setContentMd5(byte[] contentMd5)
Set the content |
Blob |
setContentType(String contentType)
Set the content |
Blob |
setCopyCompletionTime(OffsetDateTime copyCompletionTime)
Set the copy |
Blob |
setCopyId(String copyId)
Set the copy |
Blob |
setCopyProgress(String copyProgress)
Set the copy |
Blob |
setCopySource(String copySource)
Set the copy |
Blob |
setCopyStatus(CopyStatusType copyStatus)
Set the copy |
Blob |
setCopyStatusDescription(String copyStatusDescription)
Set the copy |
Blob |
setCreationTime(OffsetDateTime creationTime)
Set the creation |
Blob |
setCustomerProvidedKeySha256(String customerProvidedKeySha256)
Set the customer |
Blob |
setDeletedTime(OffsetDateTime deletedTime)
Set the deleted |
Blob |
setDestinationSnapshot(String destinationSnapshot)
Set the destination |
Blob |
setETag(String eTag)
Set the e |
Blob |
setEncryptionScope(String encryptionScope)
Set the encryption |
Blob |
setExpiryTime(OffsetDateTime expiryTime)
Set the expiry |
Blob |
setHasLegalHold(Boolean hasLegalHold)
Set the has |
Blob |
setImmutabilityPolicy(BlobImmutabilityPolicy immutabilityPolicy)
Set the immutability |
Blob |
setIncrementalCopy(Boolean incrementalCopy)
Set the incremental |
Blob |
setLastAccessedTime(OffsetDateTime lastAccessedTime)
Set the last |
Blob |
setLastModified(OffsetDateTime lastModified)
Set the last |
Blob |
setLeaseDuration(LeaseDurationType leaseDuration)
Set the lease |
Blob |
setLeaseState(LeaseStateType leaseState)
Set the lease |
Blob |
setLeaseStatus(LeaseStatusType leaseStatus)
Set the lease |
Blob |
setRehydratePriority(RehydratePriority rehydratePriority)
Set the rehydrate |
Blob |
setRemainingRetentionDays(Integer remainingRetentionDays)
Set the remaining |
Blob |
setSealed(Boolean sealed)
Set the sealed property: The sealed property. |
Blob |
setServerEncrypted(Boolean serverEncrypted)
Set the server |
Blob |
setTagCount(Integer tagCount)
Set the tag |
Methods inherited from java.lang.Object
Constructor Details
BlobItemProperties
public BlobItemProperties()
Constructs a new instance of BlobItemProperties.
Method Details
getAccessTier
public AccessTier getAccessTier()
Get the accessTier property: Possible values include: 'P4', 'P6', 'P10', 'P15', 'P20', 'P30', 'P40', 'P50', 'P60', 'P70', 'P80', 'Hot', 'Cool', 'Archive'.
Returns:
getAccessTierChangeTime
public OffsetDateTime getAccessTierChangeTime()
Get the accessTierChangeTime property: The accessTierChangeTime property.
Returns:
getArchiveStatus
public ArchiveStatus getArchiveStatus()
Get the archiveStatus property: Possible values include: 'rehydrate-pending-to-hot', 'rehydrate-pending-to-cool'.
Returns:
getBlobSequenceNumber
public Long getBlobSequenceNumber()
Get the blobSequenceNumber property: The blobSequenceNumber property.
Returns:
getBlobType
public BlobType getBlobType()
Get the blobType property: Possible values include: 'BlockBlob', 'PageBlob', 'AppendBlob'.
Returns:
getCacheControl
public String getCacheControl()
Get the cacheControl property: The cacheControl property.
Returns:
getContentDisposition
public String getContentDisposition()
Get the contentDisposition property: The contentDisposition property.
Returns:
getContentEncoding
public String getContentEncoding()
Get the contentEncoding property: The contentEncoding property.
Returns:
getContentLanguage
public String getContentLanguage()
Get the contentLanguage property: The contentLanguage property.
Returns:
getContentLength
public Long getContentLength()
Get the contentLength property: Size in bytes.
Returns:
getContentMd5
public byte[] getContentMd5()
Get the contentMd5 property: The contentMd5 property.
Returns:
getContentType
public String getContentType()
Get the contentType property: The contentType property.
Returns:
getCopyCompletionTime
public OffsetDateTime getCopyCompletionTime()
Get the copyCompletionTime property: The copyCompletionTime property.
Returns:
getCopyId
public String getCopyId()
Get the copyId property: The copyId property.
Returns:
getCopyProgress
public String getCopyProgress()
Get the copyProgress property: The copyProgress property.
Returns:
getCopySource
public String getCopySource()
Get the copySource property: The copySource property.
Returns:
getCopyStatus
public CopyStatusType getCopyStatus()
Get the copyStatus property: Possible values include: 'pending', 'success', 'aborted', 'failed'.
Returns:
getCopyStatusDescription
public String getCopyStatusDescription()
Get the copyStatusDescription property: The copyStatusDescription property.
Returns:
getCreationTime
public OffsetDateTime getCreationTime()
Get the creationTime property: The creationTime property.
Returns:
getCustomerProvidedKeySha256
public String getCustomerProvidedKeySha256()
Get the customerProvidedKeySha256 property: The customerProvidedKeySha256 property.
Returns:
getDeletedTime
public OffsetDateTime getDeletedTime()
Get the deletedTime property: The deletedTime property.
Returns:
getDestinationSnapshot
public String getDestinationSnapshot()
Get the destinationSnapshot property: The destinationSnapshot property.
Returns:
getETag
public String getETag()
Get the eTag property: The eTag property.
Returns:
getEncryptionScope
public String getEncryptionScope()
Get the encryptionScope property: The name of the encryption scope under which the blob is encrypted.
Returns:
getExpiryTime
public OffsetDateTime getExpiryTime()
Get the expiryTime property: The Expiry-Time property.
Returns:
getImmutabilityPolicy
public BlobImmutabilityPolicy getImmutabilityPolicy()
Get the immutabilityPolicy property: The ImmutabilityPolicyUntilDate and ImmutabilityPolicyMode property.
Returns:
getLastAccessedTime
public OffsetDateTime getLastAccessedTime()
Get the lastAccessedTime property: The lastAccessedTime property.
Returns:
getLastModified
public OffsetDateTime getLastModified()
Get the lastModified property: The lastModified property.
Returns:
getLeaseDuration
public LeaseDurationType getLeaseDuration()
Get the leaseDuration property: Possible values include: 'infinite', 'fixed'.
Returns:
getLeaseState
public LeaseStateType getLeaseState()
Get the leaseState property: Possible values include: 'available', 'leased', 'expired', 'breaking', 'broken'.
Returns:
getLeaseStatus
public LeaseStatusType getLeaseStatus()
Get the leaseStatus property: Possible values include: 'locked', 'unlocked'.
Returns:
getRehydratePriority
public RehydratePriority getRehydratePriority()
Get the rehydratePriority property: Possible values include: 'High', 'Standard'.
Returns:
getRemainingRetentionDays
public Integer getRemainingRetentionDays()
Get the remainingRetentionDays property: The remainingRetentionDays property.
Returns:
getTagCount
public Integer getTagCount()
Get the tagCount property: The tagCount property.
Returns:
hasLegalHold
public Boolean hasLegalHold()
Get the hasLegalHold property: The LegalHold property.
Returns:
isAccessTierInferred
public Boolean isAccessTierInferred()
Get the accessTierInferred property: The accessTierInferred property.
Returns:
isIncrementalCopy
public Boolean isIncrementalCopy()
Get the incrementalCopy property: The incrementalCopy property.
Returns:
isSealed
public Boolean isSealed()
Get the sealed property: The sealed property.
Returns:
isServerEncrypted
public Boolean isServerEncrypted()
Get the serverEncrypted property: The serverEncrypted property.
Returns:
setAccessTier
public BlobItemProperties setAccessTier(AccessTier accessTier)
Set the accessTier property: Possible values include: 'P4', 'P6', 'P10', 'P15', 'P20', 'P30', 'P40', 'P50', 'P60', 'P70', 'P80', 'Hot', 'Cool', 'Archive'.
Parameters:
Returns:
setAccessTierChangeTime
public BlobItemProperties setAccessTierChangeTime(OffsetDateTime accessTierChangeTime)
Set the accessTierChangeTime property: The accessTierChangeTime property.
Parameters:
Returns:
setAccessTierInferred
public BlobItemProperties setAccessTierInferred(Boolean accessTierInferred)
Set the accessTierInferred property: The accessTierInferred property.
Parameters:
Returns:
setArchiveStatus
public BlobItemProperties setArchiveStatus(ArchiveStatus archiveStatus)
Set the archiveStatus property: Possible values include: 'rehydrate-pending-to-hot', 'rehydrate-pending-to-cool'.
Parameters:
Returns:
setBlobSequenceNumber
public BlobItemProperties setBlobSequenceNumber(Long blobSequenceNumber)
Set the blobSequenceNumber property: The blobSequenceNumber property.
Parameters:
Returns:
setBlobType
public BlobItemProperties setBlobType(BlobType blobType)
Set the blobType property: Possible values include: 'BlockBlob', 'PageBlob', 'AppendBlob'.
Parameters:
Returns:
setCacheControl
public BlobItemProperties setCacheControl(String cacheControl)
Set the cacheControl property: The cacheControl property.
Parameters:
Returns:
setContentDisposition
public BlobItemProperties setContentDisposition(String contentDisposition)
Set the contentDisposition property: The contentDisposition property.
Parameters:
Returns:
setContentEncoding
public BlobItemProperties setContentEncoding(String contentEncoding)
Set the contentEncoding property: The contentEncoding property.
Parameters:
Returns:
setContentLanguage
public BlobItemProperties setContentLanguage(String contentLanguage)
Set the contentLanguage property: The contentLanguage property.
Parameters:
Returns:
setContentLength
public BlobItemProperties setContentLength(Long contentLength)
Set the contentLength property: Size in bytes.
Parameters:
Returns:
setContentMd5
public BlobItemProperties setContentMd5(byte[] contentMd5)
Set the contentMd5 property: The contentMd5 property.
Parameters:
Returns:
setContentType
public BlobItemProperties setContentType(String contentType)
Set the contentType property: The contentType property.
Parameters:
Returns:
setCopyCompletionTime
public BlobItemProperties setCopyCompletionTime(OffsetDateTime copyCompletionTime)
Set the copyCompletionTime property: The copyCompletionTime property.
Parameters:
Returns:
setCopyId
public BlobItemProperties setCopyId(String copyId)
Set the copyId property: The copyId property.
Parameters:
Returns:
setCopyProgress
public BlobItemProperties setCopyProgress(String copyProgress)
Set the copyProgress property: The copyProgress property.
Parameters:
Returns:
setCopySource
public BlobItemProperties setCopySource(String copySource)
Set the copySource property: The copySource property.
Parameters:
Returns:
setCopyStatus
public BlobItemProperties setCopyStatus(CopyStatusType copyStatus)
Set the copyStatus property: Possible values include: 'pending', 'success', 'aborted', 'failed'.
Parameters:
Returns:
setCopyStatusDescription
public BlobItemProperties setCopyStatusDescription(String copyStatusDescription)
Set the copyStatusDescription property: The copyStatusDescription property.
Parameters:
Returns:
setCreationTime
public BlobItemProperties setCreationTime(OffsetDateTime creationTime)
Set the creationTime property: The creationTime property.
Parameters:
Returns:
setCustomerProvidedKeySha256
public BlobItemProperties setCustomerProvidedKeySha256(String customerProvidedKeySha256)
Set the customerProvidedKeySha256 property: The customerProvidedKeySha256 property.
Parameters:
Returns:
setDeletedTime
public BlobItemProperties setDeletedTime(OffsetDateTime deletedTime)
Set the deletedTime property: The deletedTime property.
Parameters:
Returns:
setDestinationSnapshot
public BlobItemProperties setDestinationSnapshot(String destinationSnapshot)
Set the destinationSnapshot property: The destinationSnapshot property.
Parameters:
Returns:
setETag
public BlobItemProperties setETag(String eTag)
Set the eTag property: The eTag property.
Parameters:
Returns:
setEncryptionScope
public BlobItemProperties setEncryptionScope(String encryptionScope)
Set the encryptionScope property: The name of the encryption scope under which the blob is encrypted.
Parameters:
Returns:
setExpiryTime
public BlobItemProperties setExpiryTime(OffsetDateTime expiryTime)
Set the expiryTime property: The Expiry-Time property.
Parameters:
Returns:
setHasLegalHold
public BlobItemProperties setHasLegalHold(Boolean hasLegalHold)
Set the hasLegalHold property: The LegalHold property.
Parameters:
Returns:
setImmutabilityPolicy
public BlobItemProperties setImmutabilityPolicy(BlobImmutabilityPolicy immutabilityPolicy)
Set the immutabilityPolicy property: The ImmutabilityPolicyUntilDate and ImmutabilityPolicyMode property.
Parameters:
Returns:
setIncrementalCopy
public BlobItemProperties setIncrementalCopy(Boolean incrementalCopy)
Set the incrementalCopy property: The incrementalCopy property.
Parameters:
Returns:
setLastAccessedTime
public BlobItemProperties setLastAccessedTime(OffsetDateTime lastAccessedTime)
Set the lastAccessedTime property: The lastAccessedTime property.
Parameters:
Returns:
setLastModified
public BlobItemProperties setLastModified(OffsetDateTime lastModified)
Set the lastModified property: The lastModified property.
Parameters:
Returns:
setLeaseDuration
public BlobItemProperties setLeaseDuration(LeaseDurationType leaseDuration)
Set the leaseDuration property: Possible values include: 'infinite', 'fixed'.
Parameters:
Returns:
setLeaseState
public BlobItemProperties setLeaseState(LeaseStateType leaseState)
Set the leaseState property: Possible values include: 'available', 'leased', 'expired', 'breaking', 'broken'.
Parameters:
Returns:
setLeaseStatus
public BlobItemProperties setLeaseStatus(LeaseStatusType leaseStatus)
Set the leaseStatus property: Possible values include: 'locked', 'unlocked'.
Parameters:
Returns:
setRehydratePriority
public BlobItemProperties setRehydratePriority(RehydratePriority rehydratePriority)
Set the rehydratePriority property: Possible values include: 'High', 'Standard'.
Parameters:
Returns:
setRemainingRetentionDays
public BlobItemProperties setRemainingRetentionDays(Integer remainingRetentionDays)
Set the remainingRetentionDays property: The remainingRetentionDays property.
Parameters:
Returns:
setSealed
public BlobItemProperties setSealed(Boolean sealed)
Set the sealed property: The sealed property.
Parameters:
Returns:
setServerEncrypted
public BlobItemProperties setServerEncrypted(Boolean serverEncrypted)
Set the serverEncrypted property: The serverEncrypted property.
Parameters:
Returns:
setTagCount
public BlobItemProperties setTagCount(Integer tagCount)
Set the tagCount property: The tagCount property.
Parameters:
Returns:
Applies to
Azure SDK for Java