Class ListContainerItemInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.storage.models.AzureEntityResource
-
- com.azure.resourcemanager.storage.fluent.models.ListContainerItemInner
-
public final class ListContainerItemInner extends AzureEntityResource
The blob container properties be listed out.
-
-
Constructor Summary
Constructors Constructor Description ListContainerItemInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringdefaultEncryptionScope()Get the defaultEncryptionScope property: Default the container to use specified encryption scope for all writes.Booleandeleted()Get the deleted property: Indicates whether the blob container was deleted.OffsetDateTimedeletedTime()Get the deletedTime property: Blob container deletion time.BooleandenyEncryptionScopeOverride()Get the denyEncryptionScopeOverride property: Block override of encryption scope from the container default.BooleanhasImmutabilityPolicy()Get the hasImmutabilityPolicy property: The hasImmutabilityPolicy public property is set to true by SRP if ImmutabilityPolicy has been created for this container.BooleanhasLegalHold()Get the hasLegalHold property: The hasLegalHold public property is set to true by SRP if there are at least one existing tag.ImmutabilityPolicyPropertiesimmutabilityPolicy()Get the immutabilityPolicy property: The ImmutabilityPolicy property of the container.ImmutableStorageWithVersioningimmutableStorageWithVersioning()Get the immutableStorageWithVersioning property: The object level immutability property of the container.OffsetDateTimelastModifiedTime()Get the lastModifiedTime property: Returns the date and time the container was last modified.LeaseDurationleaseDuration()Get the leaseDuration property: Specifies whether the lease on a container is of infinite or fixed duration, only when the container is leased.LeaseStateleaseState()Get the leaseState property: Lease state of the container.LeaseStatusleaseStatus()Get the leaseStatus property: The lease status of the container.LegalHoldPropertieslegalHold()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.PublicAccesspublicAccess()Get the publicAccess property: Specifies whether data in the container may be accessed publicly and the level of access.IntegerremainingRetentionDays()Get the remainingRetentionDays property: Remaining retention days for soft deleted blob container.voidvalidate()Validates the instance.Stringversion()Get the version property: The version of the deleted blob container.ListContainerItemInnerwithDefaultEncryptionScope(String defaultEncryptionScope)Set the defaultEncryptionScope property: Default the container to use specified encryption scope for all writes.ListContainerItemInnerwithDenyEncryptionScopeOverride(Boolean denyEncryptionScopeOverride)Set the denyEncryptionScopeOverride property: Block override of encryption scope from the container default.ListContainerItemInnerwithImmutableStorageWithVersioning(ImmutableStorageWithVersioning immutableStorageWithVersioning)Set the immutableStorageWithVersioning property: The object level immutability property of the container.ListContainerItemInnerwithMetadata(Map<String,String> metadata)Set the metadata property: A name-value pair to associate with the container as metadata.ListContainerItemInnerwithPublicAccess(PublicAccess publicAccess)Set the publicAccess property: Specifies whether data in the container may be accessed publicly and the level of access.-
Methods inherited from class com.azure.resourcemanager.storage.models.AzureEntityResource
etag
-
-
-
-
Method Detail
-
version
public String version()
Get the version property: The version of the deleted blob container.- Returns:
- the version value.
-
deleted
public Boolean deleted()
Get the deleted property: Indicates whether the blob container was deleted.- Returns:
- the deleted value.
-
deletedTime
public OffsetDateTime deletedTime()
Get the deletedTime property: Blob container deletion time.- Returns:
- the deletedTime value.
-
remainingRetentionDays
public Integer remainingRetentionDays()
Get the remainingRetentionDays property: Remaining retention days for soft deleted blob container.- Returns:
- the remainingRetentionDays value.
-
defaultEncryptionScope
public String defaultEncryptionScope()
Get the defaultEncryptionScope property: Default the container to use specified encryption scope for all writes.- Returns:
- the defaultEncryptionScope value.
-
withDefaultEncryptionScope
public ListContainerItemInner withDefaultEncryptionScope(String defaultEncryptionScope)
Set the defaultEncryptionScope property: Default the container to use specified encryption scope for all writes.- Parameters:
defaultEncryptionScope- the defaultEncryptionScope value to set.- Returns:
- the ListContainerItemInner object itself.
-
denyEncryptionScopeOverride
public Boolean denyEncryptionScopeOverride()
Get the denyEncryptionScopeOverride property: Block override of encryption scope from the container default.- Returns:
- the denyEncryptionScopeOverride value.
-
withDenyEncryptionScopeOverride
public ListContainerItemInner withDenyEncryptionScopeOverride(Boolean denyEncryptionScopeOverride)
Set the denyEncryptionScopeOverride property: Block override of encryption scope from the container default.- Parameters:
denyEncryptionScopeOverride- the denyEncryptionScopeOverride value to set.- Returns:
- the ListContainerItemInner object itself.
-
publicAccess
public PublicAccess publicAccess()
Get the publicAccess property: Specifies whether data in the container may be accessed publicly and the level of access.- Returns:
- the publicAccess value.
-
withPublicAccess
public ListContainerItemInner withPublicAccess(PublicAccess publicAccess)
Set the publicAccess property: Specifies whether data in the container may be accessed publicly and the level of access.- Parameters:
publicAccess- the publicAccess value to set.- Returns:
- the ListContainerItemInner object itself.
-
lastModifiedTime
public OffsetDateTime lastModifiedTime()
Get the lastModifiedTime property: Returns the date and time the container was last modified.- Returns:
- the lastModifiedTime value.
-
leaseStatus
public LeaseStatus leaseStatus()
Get the leaseStatus property: The lease status of the container.- Returns:
- the leaseStatus value.
-
leaseState
public LeaseState leaseState()
Get the leaseState property: Lease state of the container.- Returns:
- the leaseState value.
-
leaseDuration
public 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.- Returns:
- the leaseDuration value.
-
metadata
public Map<String,String> metadata()
Get the metadata property: A name-value pair to associate with the container as metadata.- Returns:
- the metadata value.
-
withMetadata
public ListContainerItemInner withMetadata(Map<String,String> metadata)
Set the metadata property: A name-value pair to associate with the container as metadata.- Parameters:
metadata- the metadata value to set.- Returns:
- the ListContainerItemInner object itself.
-
immutabilityPolicy
public ImmutabilityPolicyProperties immutabilityPolicy()
Get the immutabilityPolicy property: The ImmutabilityPolicy property of the container.- Returns:
- the immutabilityPolicy value.
-
legalHold
public LegalHoldProperties legalHold()
Get the legalHold property: The LegalHold property of the container.- Returns:
- the legalHold value.
-
hasLegalHold
public Boolean hasLegalHold()
Get the hasLegalHold property: The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account.- Returns:
- the hasLegalHold value.
-
hasImmutabilityPolicy
public Boolean hasImmutabilityPolicy()
Get the hasImmutabilityPolicy property: The hasImmutabilityPolicy public property is set to true by SRP if ImmutabilityPolicy has been created for this container. The hasImmutabilityPolicy public property is set to false by SRP if ImmutabilityPolicy has not been created for this container.- Returns:
- the hasImmutabilityPolicy value.
-
immutableStorageWithVersioning
public ImmutableStorageWithVersioning immutableStorageWithVersioning()
Get the immutableStorageWithVersioning property: The object level immutability property of the container. The property is immutable and can only be set to true at the container creation time. Existing containers must undergo a migration process.- Returns:
- the immutableStorageWithVersioning value.
-
withImmutableStorageWithVersioning
public ListContainerItemInner withImmutableStorageWithVersioning(ImmutableStorageWithVersioning immutableStorageWithVersioning)
Set the immutableStorageWithVersioning property: The object level immutability property of the container. The property is immutable and can only be set to true at the container creation time. Existing containers must undergo a migration process.- Parameters:
immutableStorageWithVersioning- the immutableStorageWithVersioning value to set.- Returns:
- the ListContainerItemInner object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classAzureEntityResource- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-