BlobContainerProperties Class
- java.
lang. Object - com.
azure. storage. blob. models. BlobContainerProperties
- com.
public final class BlobContainerProperties
This class contains the response information returned from the service when getting container properties.
Constructor Summary
Method Summary
Modifier and Type | Method and Description |
---|---|
Public |
getBlobPublicAccess()
Gets the access type for the container. |
String |
getDefaultEncryptionScope()
Gets the container's default encryption scope. |
String |
getETag()
Gets the e |
Offset |
getLastModified()
Gets the time the container was last modified. |
Lease |
getLeaseDuration()
Gets the type of lease on the container. |
Lease |
getLeaseState()
Gets the lease state of the container. |
Lease |
getLeaseStatus()
Gets the lease status of the container. |
Map<String,String> |
getMetadata()
Gets the metadata associated with the container. |
boolean |
hasImmutabilityPolicy()
Gets the immutability status for the container. |
boolean |
hasLegalHold()
Gets the legal hold status for the container. |
Boolean |
isEncryptionScopeOverridePrevented()
Gets the container's deny encryption scope override property. |
Boolean |
isImmutableStorageWithVersioningEnabled()
Gets whether immutable storage with versioning is enabled on this container. |
Methods inherited from java.lang.Object
Constructor Details
BlobContainerProperties
public BlobContainerProperties(Map
Constructs a BlobContainerProperties.
Parameters:
BlobContainerProperties
public BlobContainerProperties(Map
Constructs a BlobContainerProperties.
Parameters:
BlobContainerProperties
public BlobContainerProperties(Map
Constructs a BlobContainerProperties.
Parameters:
Method Details
getBlobPublicAccess
public PublicAccessType getBlobPublicAccess()
Gets the access type for the container.
Returns:
getDefaultEncryptionScope
public String getDefaultEncryptionScope()
Gets the container's default encryption scope.
Returns:
getETag
public String getETag()
Gets the eTag of the container.
Returns:
getLastModified
public OffsetDateTime getLastModified()
Gets the time the container was last modified.
Returns:
getLeaseDuration
public LeaseDurationType getLeaseDuration()
Gets the type of lease on the container.
Returns:
getLeaseState
public LeaseStateType getLeaseState()
Gets the lease state of the container.
Returns:
getLeaseStatus
public LeaseStatusType getLeaseStatus()
Gets the lease status of the container.
Returns:
getMetadata
public Map
Gets the metadata associated with the container.
Returns:
hasImmutabilityPolicy
public boolean hasImmutabilityPolicy()
Gets the immutability status for the container.
Returns:
hasLegalHold
public boolean hasLegalHold()
Gets the legal hold status for the container.
Returns:
isEncryptionScopeOverridePrevented
public Boolean isEncryptionScopeOverridePrevented()
Gets the container's deny encryption scope override property.
Returns:
isImmutableStorageWithVersioningEnabled
public Boolean isImmutableStorageWithVersioningEnabled()
Gets whether immutable storage with versioning is enabled on this container.
Returns: