BlobContainerItemProperties Class
- java.
lang. Object - com.
azure. storage. blob. models. BlobContainerItemProperties
- com.
Implements
public final class BlobContainerItemProperties
implements XmlSerializable<BlobContainerItemProperties>
Properties of a container.
Constructor Summary
Constructor | Description |
---|---|
BlobContainerItemProperties() |
Creates an instance of Blob |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Blob |
fromXml(XmlReader xmlReader)
Reads an instance of Blob |
static
Blob |
fromXml(XmlReader xmlReader, String rootElementName)
Reads an instance of Blob |
String |
getDefaultEncryptionScope()
Get the default |
Offset |
getDeletedTime()
Get the deleted |
String |
getETag()
Get the e |
Offset |
getLastModified()
Get the last |
Lease |
getLeaseDuration()
Get the lease |
Lease |
getLeaseState()
Get the lease |
Lease |
getLeaseStatus()
Get the lease |
Public |
getPublicAccess()
Get the public |
Integer |
getRemainingRetentionDays()
Get the remaining |
boolean |
isEncryptionScopeOverridePrevented()
Get the encryption |
Boolean |
isHasImmutabilityPolicy()
Get the has |
Boolean |
isHasLegalHold()
Get the has |
Boolean |
isImmutableStorageWithVersioningEnabled()
Get the is |
Blob |
setDefaultEncryptionScope(String defaultEncryptionScope)
Set the default |
Blob |
setDeletedTime(OffsetDateTime deletedTime)
Set the deleted |
Blob |
setETag(String eTag)
Set the e |
Blob |
setEncryptionScopeOverridePrevented(boolean encryptionScopeOverridePrevented)
Set the encryption |
Blob |
setHasImmutabilityPolicy(Boolean hasImmutabilityPolicy)
Set the has |
Blob |
setHasLegalHold(Boolean hasLegalHold)
Set the has |
Blob |
setImmutableStorageWithVersioningEnabled(Boolean isImmutableStorageWithVersioningEnabled)
Set the is |
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 |
setPublicAccess(PublicAccessType publicAccess)
Set the public |
Blob |
setRemainingRetentionDays(Integer remainingRetentionDays)
Set the remaining |
Xml |
toXml(XmlWriter xmlWriter) |
Xml |
toXml(XmlWriter xmlWriter, String rootElementName) |
Methods inherited from java.lang.Object
Constructor Details
BlobContainerItemProperties
public BlobContainerItemProperties()
Creates an instance of BlobContainerItemProperties class.
Method Details
fromXml
public static BlobContainerItemProperties fromXml(XmlReader xmlReader)
Reads an instance of BlobContainerItemProperties from the XmlReader.
Parameters:
Returns:
Throws:
fromXml
public static BlobContainerItemProperties fromXml(XmlReader xmlReader, String rootElementName)
Reads an instance of BlobContainerItemProperties from the XmlReader.
Parameters:
Returns:
Throws:
getDefaultEncryptionScope
public String getDefaultEncryptionScope()
Get the defaultEncryptionScope property: The DefaultEncryptionScope property.
Returns:
getDeletedTime
public OffsetDateTime getDeletedTime()
Get the deletedTime property: The DeletedTime property.
Returns:
getETag
public String getETag()
Get the eTag property: The Etag property.
Returns:
getLastModified
public OffsetDateTime getLastModified()
Get the lastModified property: The Last-Modified property.
Returns:
getLeaseDuration
public LeaseDurationType getLeaseDuration()
Get the leaseDuration property: The LeaseDuration property.
Returns:
getLeaseState
public LeaseStateType getLeaseState()
Get the leaseState property: The LeaseState property.
Returns:
getLeaseStatus
public LeaseStatusType getLeaseStatus()
Get the leaseStatus property: The LeaseStatus property.
Returns:
getPublicAccess
public PublicAccessType getPublicAccess()
Get the publicAccess property: The PublicAccess property.
Returns:
getRemainingRetentionDays
public Integer getRemainingRetentionDays()
Get the remainingRetentionDays property: The RemainingRetentionDays property.
Returns:
isEncryptionScopeOverridePrevented
public boolean isEncryptionScopeOverridePrevented()
Get the encryptionScopeOverridePrevented property: The DenyEncryptionScopeOverride property.
Returns:
isHasImmutabilityPolicy
public Boolean isHasImmutabilityPolicy()
Get the hasImmutabilityPolicy property: The HasImmutabilityPolicy property.
Returns:
isHasLegalHold
public Boolean isHasLegalHold()
Get the hasLegalHold property: The HasLegalHold property.
Returns:
isImmutableStorageWithVersioningEnabled
public Boolean isImmutableStorageWithVersioningEnabled()
Get the isImmutableStorageWithVersioningEnabled property: Indicates if version level worm is enabled on this container.
Returns:
setDefaultEncryptionScope
public BlobContainerItemProperties setDefaultEncryptionScope(String defaultEncryptionScope)
Set the defaultEncryptionScope property: The DefaultEncryptionScope property.
Parameters:
Returns:
setDeletedTime
public BlobContainerItemProperties setDeletedTime(OffsetDateTime deletedTime)
Set the deletedTime property: The DeletedTime property.
Parameters:
Returns:
setETag
public BlobContainerItemProperties setETag(String eTag)
Set the eTag property: The Etag property.
Parameters:
Returns:
setEncryptionScopeOverridePrevented
public BlobContainerItemProperties setEncryptionScopeOverridePrevented(boolean encryptionScopeOverridePrevented)
Set the encryptionScopeOverridePrevented property: The DenyEncryptionScopeOverride property.
Parameters:
Returns:
setHasImmutabilityPolicy
public BlobContainerItemProperties setHasImmutabilityPolicy(Boolean hasImmutabilityPolicy)
Set the hasImmutabilityPolicy property: The HasImmutabilityPolicy property.
Parameters:
Returns:
setHasLegalHold
public BlobContainerItemProperties setHasLegalHold(Boolean hasLegalHold)
Set the hasLegalHold property: The HasLegalHold property.
Parameters:
Returns:
setImmutableStorageWithVersioningEnabled
public BlobContainerItemProperties setImmutableStorageWithVersioningEnabled(Boolean isImmutableStorageWithVersioningEnabled)
Set the isImmutableStorageWithVersioningEnabled property: Indicates if version level worm is enabled on this container.
Parameters:
Returns:
setLastModified
public BlobContainerItemProperties setLastModified(OffsetDateTime lastModified)
Set the lastModified property: The Last-Modified property.
Parameters:
Returns:
setLeaseDuration
public BlobContainerItemProperties setLeaseDuration(LeaseDurationType leaseDuration)
Set the leaseDuration property: The LeaseDuration property.
Parameters:
Returns:
setLeaseState
public BlobContainerItemProperties setLeaseState(LeaseStateType leaseState)
Set the leaseState property: The LeaseState property.
Parameters:
Returns:
setLeaseStatus
public BlobContainerItemProperties setLeaseStatus(LeaseStatusType leaseStatus)
Set the leaseStatus property: The LeaseStatus property.
Parameters:
Returns:
setPublicAccess
public BlobContainerItemProperties setPublicAccess(PublicAccessType publicAccess)
Set the publicAccess property: The PublicAccess property.
Parameters:
Returns:
setRemainingRetentionDays
public BlobContainerItemProperties setRemainingRetentionDays(Integer remainingRetentionDays)
Set the remainingRetentionDays property: The RemainingRetentionDays property.
Parameters:
Returns:
toXml
toXml
public XmlWriter toXml(XmlWriter xmlWriter, String rootElementName)
Parameters:
Throws:
Applies to
Azure SDK for Java