public final class BlobContainerProperties extends Object
Constructor and Description |
---|
BlobContainerProperties(Map<String,String> metadata,
String eTag,
OffsetDateTime lastModified,
LeaseDurationType leaseDuration,
LeaseStateType leaseState,
LeaseStatusType leaseStatus,
PublicAccessType blobPublicAccess,
boolean hasImmutabilityPolicy,
boolean hasLegalHold)
Constructs a
BlobContainerProperties . |
BlobContainerProperties(Map<String,String> metadata,
String eTag,
OffsetDateTime lastModified,
LeaseDurationType leaseDuration,
LeaseStateType leaseState,
LeaseStatusType leaseStatus,
PublicAccessType blobPublicAccess,
boolean hasImmutabilityPolicy,
boolean hasLegalHold,
String defaultEncryptionScope,
Boolean encryptionScopeOverridePrevented)
Constructs a
BlobContainerProperties . |
BlobContainerProperties(Map<String,String> metadata,
String eTag,
OffsetDateTime lastModified,
LeaseDurationType leaseDuration,
LeaseStateType leaseState,
LeaseStatusType leaseStatus,
PublicAccessType blobPublicAccess,
boolean hasImmutabilityPolicy,
boolean hasLegalHold,
String defaultEncryptionScope,
Boolean encryptionScopeOverridePrevented,
Boolean isImmutableStorageWithVersioningEnabled)
Constructs a
BlobContainerProperties . |
Modifier and Type | Method and Description |
---|---|
PublicAccessType |
getBlobPublicAccess() |
String |
getDefaultEncryptionScope() |
String |
getETag() |
OffsetDateTime |
getLastModified() |
LeaseDurationType |
getLeaseDuration() |
LeaseStateType |
getLeaseState() |
LeaseStatusType |
getLeaseStatus() |
Map<String,String> |
getMetadata() |
boolean |
hasImmutabilityPolicy() |
boolean |
hasLegalHold() |
Boolean |
isEncryptionScopeOverridePrevented() |
Boolean |
isImmutableStorageWithVersioningEnabled() |
public BlobContainerProperties(Map<String,String> metadata, String eTag, OffsetDateTime lastModified, LeaseDurationType leaseDuration, LeaseStateType leaseState, LeaseStatusType leaseStatus, PublicAccessType blobPublicAccess, boolean hasImmutabilityPolicy, boolean hasLegalHold)
BlobContainerProperties
.metadata
- Metadata associated with the container.eTag
- ETag of the container.lastModified
- Datetime when the container was last modified.leaseDuration
- Type of the lease on the container.leaseState
- State of the lease on the container.leaseStatus
- Status of the lease on the container.blobPublicAccess
- Public access status for the container.hasImmutabilityPolicy
- Flag indicating if the container has an immutability policy set on it.hasLegalHold
- Flag indicating if the container has a legal hold.public BlobContainerProperties(Map<String,String> metadata, String eTag, OffsetDateTime lastModified, LeaseDurationType leaseDuration, LeaseStateType leaseState, LeaseStatusType leaseStatus, PublicAccessType blobPublicAccess, boolean hasImmutabilityPolicy, boolean hasLegalHold, String defaultEncryptionScope, Boolean encryptionScopeOverridePrevented)
BlobContainerProperties
.metadata
- Metadata associated with the container.eTag
- ETag of the container.lastModified
- Datetime when the container was last modified.leaseDuration
- Type of the lease on the container.leaseState
- State of the lease on the container.leaseStatus
- Status of the lease on the container.blobPublicAccess
- Public access status for the container.hasImmutabilityPolicy
- Flag indicating if the container has an immutability policy set on it.hasLegalHold
- Flag indicating if the container has a legal hold.defaultEncryptionScope
- The container's default encryption scope to encrypt blobs with.encryptionScopeOverridePrevented
- Whether or not a container's default encryption scope can be overridenpublic BlobContainerProperties(Map<String,String> metadata, String eTag, OffsetDateTime lastModified, LeaseDurationType leaseDuration, LeaseStateType leaseState, LeaseStatusType leaseStatus, PublicAccessType blobPublicAccess, boolean hasImmutabilityPolicy, boolean hasLegalHold, String defaultEncryptionScope, Boolean encryptionScopeOverridePrevented, Boolean isImmutableStorageWithVersioningEnabled)
BlobContainerProperties
.metadata
- Metadata associated with the container.eTag
- ETag of the container.lastModified
- Datetime when the container was last modified.leaseDuration
- Type of the lease on the container.leaseState
- State of the lease on the container.leaseStatus
- Status of the lease on the container.blobPublicAccess
- Public access status for the container.hasImmutabilityPolicy
- Flag indicating if the container has an immutability policy set on it.hasLegalHold
- Flag indicating if the container has a legal hold.defaultEncryptionScope
- The container's default encryption scope to encrypt blobs with.encryptionScopeOverridePrevented
- Whether or not a container's default encryption scope can be overridenisImmutableStorageWithVersioningEnabled
- Whether or not immutable storage with versioning is enabled on
this container.public Map<String,String> getMetadata()
public String getETag()
public OffsetDateTime getLastModified()
public LeaseDurationType getLeaseDuration()
public LeaseStateType getLeaseState()
public LeaseStatusType getLeaseStatus()
public PublicAccessType getBlobPublicAccess()
public boolean hasImmutabilityPolicy()
public boolean hasLegalHold()
public String getDefaultEncryptionScope()
public Boolean isEncryptionScopeOverridePrevented()
public Boolean isImmutableStorageWithVersioningEnabled()
Copyright © 2021 Microsoft Corporation. All rights reserved.