Package com.azure.storage.blob.models
Class BlobContainerItemProperties
java.lang.Object
com.azure.storage.blob.models.BlobContainerItemProperties
Properties of a container.
-
Constructor Summary
ConstructorDescriptionCreates an instance of BlobContainerItemProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the defaultEncryptionScope property: The DefaultEncryptionScope property.Get the deletedTime property: The DeletedTime property.getETag()
Get the eTag property: The Etag property.Get the lastModified property: The Last-Modified property.Get the leaseDuration property: The LeaseDuration property.Get the leaseState property: The LeaseState property.Get the leaseStatus property: The LeaseStatus property.Get the publicAccess property: The PublicAccess property.Get the remainingRetentionDays property: The RemainingRetentionDays property.boolean
Get the encryptionScopeOverridePrevented property: The DenyEncryptionScopeOverride property.Get the hasImmutabilityPolicy property: The HasImmutabilityPolicy property.Get the hasLegalHold property: The HasLegalHold property.Get the isImmutableStorageWithVersioningEnabled property: Indicates if version level worm is enabled on this container.setDefaultEncryptionScope
(String defaultEncryptionScope) Set the defaultEncryptionScope property: The DefaultEncryptionScope property.setDeletedTime
(OffsetDateTime deletedTime) Set the deletedTime property: The DeletedTime property.setEncryptionScopeOverridePrevented
(boolean encryptionScopeOverridePrevented) Set the encryptionScopeOverridePrevented property: The DenyEncryptionScopeOverride property.Set the eTag property: The Etag property.setHasImmutabilityPolicy
(Boolean hasImmutabilityPolicy) Set the hasImmutabilityPolicy property: The HasImmutabilityPolicy property.setHasLegalHold
(Boolean hasLegalHold) Set the hasLegalHold property: The HasLegalHold property.setImmutableStorageWithVersioningEnabled
(Boolean isImmutableStorageWithVersioningEnabled) Set the isImmutableStorageWithVersioningEnabled property: Indicates if version level worm is enabled on this container.setLastModified
(OffsetDateTime lastModified) Set the lastModified property: The Last-Modified property.setLeaseDuration
(LeaseDurationType leaseDuration) Set the leaseDuration property: The LeaseDuration property.setLeaseState
(LeaseStateType leaseState) Set the leaseState property: The LeaseState property.setLeaseStatus
(LeaseStatusType leaseStatus) Set the leaseStatus property: The LeaseStatus property.setPublicAccess
(PublicAccessType publicAccess) Set the publicAccess property: The PublicAccess property.setRemainingRetentionDays
(Integer remainingRetentionDays) Set the remainingRetentionDays property: The RemainingRetentionDays property.
-
Constructor Details
-
BlobContainerItemProperties
public BlobContainerItemProperties()Creates an instance of BlobContainerItemProperties class.
-
-
Method Details
-
getLastModified
Get the lastModified property: The Last-Modified property.- Returns:
- the lastModified value.
-
setLastModified
Set the lastModified property: The Last-Modified property.- Parameters:
lastModified
- the lastModified value to set.- Returns:
- the BlobContainerItemProperties object itself.
-
getETag
Get the eTag property: The Etag property.- Returns:
- the eTag value.
-
setETag
Set the eTag property: The Etag property.- Parameters:
eTag
- the eTag value to set.- Returns:
- the BlobContainerItemProperties object itself.
-
getLeaseStatus
Get the leaseStatus property: The LeaseStatus property.- Returns:
- the leaseStatus value.
-
setLeaseStatus
Set the leaseStatus property: The LeaseStatus property.- Parameters:
leaseStatus
- the leaseStatus value to set.- Returns:
- the BlobContainerItemProperties object itself.
-
getLeaseState
Get the leaseState property: The LeaseState property.- Returns:
- the leaseState value.
-
setLeaseState
Set the leaseState property: The LeaseState property.- Parameters:
leaseState
- the leaseState value to set.- Returns:
- the BlobContainerItemProperties object itself.
-
getLeaseDuration
Get the leaseDuration property: The LeaseDuration property.- Returns:
- the leaseDuration value.
-
setLeaseDuration
Set the leaseDuration property: The LeaseDuration property.- Parameters:
leaseDuration
- the leaseDuration value to set.- Returns:
- the BlobContainerItemProperties object itself.
-
getPublicAccess
Get the publicAccess property: The PublicAccess property.- Returns:
- the publicAccess value.
-
setPublicAccess
Set the publicAccess property: The PublicAccess property.- Parameters:
publicAccess
- the publicAccess value to set.- Returns:
- the BlobContainerItemProperties object itself.
-
isHasImmutabilityPolicy
Get the hasImmutabilityPolicy property: The HasImmutabilityPolicy property.- Returns:
- the hasImmutabilityPolicy value.
-
setHasImmutabilityPolicy
Set the hasImmutabilityPolicy property: The HasImmutabilityPolicy property.- Parameters:
hasImmutabilityPolicy
- the hasImmutabilityPolicy value to set.- Returns:
- the BlobContainerItemProperties object itself.
-
isHasLegalHold
Get the hasLegalHold property: The HasLegalHold property.- Returns:
- the hasLegalHold value.
-
setHasLegalHold
Set the hasLegalHold property: The HasLegalHold property.- Parameters:
hasLegalHold
- the hasLegalHold value to set.- Returns:
- the BlobContainerItemProperties object itself.
-
getDefaultEncryptionScope
Get the defaultEncryptionScope property: The DefaultEncryptionScope property.- Returns:
- the defaultEncryptionScope value.
-
setDefaultEncryptionScope
Set the defaultEncryptionScope property: The DefaultEncryptionScope property.- Parameters:
defaultEncryptionScope
- the defaultEncryptionScope value to set.- Returns:
- the BlobContainerItemProperties object itself.
-
isEncryptionScopeOverridePrevented
public boolean isEncryptionScopeOverridePrevented()Get the encryptionScopeOverridePrevented property: The DenyEncryptionScopeOverride property.- Returns:
- the encryptionScopeOverridePrevented value.
-
setEncryptionScopeOverridePrevented
public BlobContainerItemProperties setEncryptionScopeOverridePrevented(boolean encryptionScopeOverridePrevented) Set the encryptionScopeOverridePrevented property: The DenyEncryptionScopeOverride property.- Parameters:
encryptionScopeOverridePrevented
- the encryptionScopeOverridePrevented value to set.- Returns:
- the BlobContainerItemProperties object itself.
-
getDeletedTime
Get the deletedTime property: The DeletedTime property.- Returns:
- the deletedTime value.
-
setDeletedTime
Set the deletedTime property: The DeletedTime property.- Parameters:
deletedTime
- the deletedTime value to set.- Returns:
- the BlobContainerItemProperties object itself.
-
getRemainingRetentionDays
Get the remainingRetentionDays property: The RemainingRetentionDays property.- Returns:
- the remainingRetentionDays value.
-
setRemainingRetentionDays
Set the remainingRetentionDays property: The RemainingRetentionDays property.- Parameters:
remainingRetentionDays
- the remainingRetentionDays value to set.- Returns:
- the BlobContainerItemProperties object itself.
-
isImmutableStorageWithVersioningEnabled
Get the isImmutableStorageWithVersioningEnabled property: Indicates if version level worm is enabled on this container.- Returns:
- the isImmutableStorageWithVersioningEnabled value.
-
setImmutableStorageWithVersioningEnabled
public BlobContainerItemProperties setImmutableStorageWithVersioningEnabled(Boolean isImmutableStorageWithVersioningEnabled) Set the isImmutableStorageWithVersioningEnabled property: Indicates if version level worm is enabled on this container.- Parameters:
isImmutableStorageWithVersioningEnabled
- the isImmutableStorageWithVersioningEnabled value to set.- Returns:
- the BlobContainerItemProperties object itself.
-