public class BlobContainerInner extends AzureEntityResource
| Constructor and Description |
|---|
BlobContainerInner() |
| Modifier and Type | Method and Description |
|---|---|
String |
defaultEncryptionScope()
Get the defaultEncryptionScope property: Default the container to use specified encryption scope for all writes.
|
Boolean |
deleted()
Get the deleted property: Indicates whether the blob container was deleted.
|
OffsetDateTime |
deletedTime()
Get the deletedTime property: Blob container deletion time.
|
Boolean |
denyEncryptionScopeOverride()
Get the denyEncryptionScopeOverride property: Block override of encryption scope from the container default.
|
Boolean |
hasImmutabilityPolicy()
Get the hasImmutabilityPolicy property: The hasImmutabilityPolicy public property is set to true by SRP if
ImmutabilityPolicy has been created for this container.
|
Boolean |
hasLegalHold()
Get the hasLegalHold property: The hasLegalHold public property is set to true by SRP if there are at least one
existing tag.
|
ImmutabilityPolicyProperties |
immutabilityPolicy()
Get the immutabilityPolicy property: The ImmutabilityPolicy property of the container.
|
OffsetDateTime |
lastModifiedTime()
Get the lastModifiedTime property: Returns the date and time the container was last modified.
|
LeaseDuration |
leaseDuration()
Get the leaseDuration property: Specifies whether the lease on a container is of infinite or fixed duration, only
when the container is leased.
|
LeaseState |
leaseState()
Get the leaseState property: Lease state of the container.
|
LeaseStatus |
leaseStatus()
Get the leaseStatus property: The lease status of the container.
|
LegalHoldProperties |
legalHold()
Get the legalHold property: The LegalHold property of the container.
|
Map<String,String> |
metadata()
Get the metadata property: A name-value pair to associate with the container as metadata.
|
PublicAccess |
publicAccess()
Get the publicAccess property: Specifies whether data in the container may be accessed publicly and the level of
access.
|
Integer |
remainingRetentionDays()
Get the remainingRetentionDays property: Remaining retention days for soft deleted blob container.
|
void |
validate()
Validates the instance.
|
String |
version()
Get the version property: The version of the deleted blob container.
|
BlobContainerInner |
withDefaultEncryptionScope(String defaultEncryptionScope)
Set the defaultEncryptionScope property: Default the container to use specified encryption scope for all writes.
|
BlobContainerInner |
withDenyEncryptionScopeOverride(Boolean denyEncryptionScopeOverride)
Set the denyEncryptionScopeOverride property: Block override of encryption scope from the container default.
|
BlobContainerInner |
withMetadata(Map<String,String> metadata)
Set the metadata property: A name-value pair to associate with the container as metadata.
|
BlobContainerInner |
withPublicAccess(PublicAccess publicAccess)
Set the publicAccess property: Specifies whether data in the container may be accessed publicly and the level of
access.
|
etagpublic String version()
public Boolean deleted()
public OffsetDateTime deletedTime()
public Integer remainingRetentionDays()
public String defaultEncryptionScope()
public BlobContainerInner withDefaultEncryptionScope(String defaultEncryptionScope)
defaultEncryptionScope - the defaultEncryptionScope value to set.public Boolean denyEncryptionScopeOverride()
public BlobContainerInner withDenyEncryptionScopeOverride(Boolean denyEncryptionScopeOverride)
denyEncryptionScopeOverride - the denyEncryptionScopeOverride value to set.public PublicAccess publicAccess()
public BlobContainerInner withPublicAccess(PublicAccess publicAccess)
publicAccess - the publicAccess value to set.public OffsetDateTime lastModifiedTime()
public LeaseStatus leaseStatus()
public LeaseState leaseState()
public LeaseDuration leaseDuration()
public Map<String,String> metadata()
public BlobContainerInner withMetadata(Map<String,String> metadata)
metadata - the metadata value to set.public ImmutabilityPolicyProperties immutabilityPolicy()
public LegalHoldProperties legalHold()
public Boolean hasLegalHold()
public Boolean hasImmutabilityPolicy()
public void validate()
validate in class AzureEntityResourceIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.