다음을 통해 공유


ListContainerItemInner Class

public final class ListContainerItemInner
extends AzureEntityResource

The blob container properties be listed out.

Constructor Summary

Constructor Description
ListContainerItemInner()

Creates an instance of ListContainerItemInner class.

Method Summary

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 enableNfsV3AllSquash()

Get the enableNfsV3AllSquash property: Enable NFSv3 all squash on blob container.

Boolean enableNfsV3RootSquash()

Get the enableNfsV3RootSquash property: Enable NFSv3 root squash on blob container.

String etag()

Get the etag property: Resource Etag.

static ListContainerItemInner fromJson(JsonReader jsonReader)

Reads an instance of ListContainerItemInner from the JsonReader.

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.

String id()

Get the id property: Fully qualified resource Id for the resource.

ImmutabilityPolicyProperties immutabilityPolicy()

Get the immutabilityPolicy property: The ImmutabilityPolicy property of the container.

ImmutableStorageWithVersioning immutableStorageWithVersioning()

Get the immutableStorageWithVersioning property: The object level immutability 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.

String name()

Get the name property: The name of the resource.

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.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

String version()

Get the version property: The version of the deleted blob container.

ListContainerItemInner withDefaultEncryptionScope(String defaultEncryptionScope)

Set the defaultEncryptionScope property: Default the container to use specified encryption scope for all writes.

ListContainerItemInner withDenyEncryptionScopeOverride(Boolean denyEncryptionScopeOverride)

Set the denyEncryptionScopeOverride property: Block override of encryption scope from the container default.

ListContainerItemInner withEnableNfsV3AllSquash(Boolean enableNfsV3AllSquash)

Set the enableNfsV3AllSquash property: Enable NFSv3 all squash on blob container.

ListContainerItemInner withEnableNfsV3RootSquash(Boolean enableNfsV3RootSquash)

Set the enableNfsV3RootSquash property: Enable NFSv3 root squash on blob container.

ListContainerItemInner withImmutableStorageWithVersioning(ImmutableStorageWithVersioning immutableStorageWithVersioning)

Set the immutableStorageWithVersioning property: The object level immutability property of the container.

ListContainerItemInner withMetadata(Map<String,String> metadata)

Set the metadata property: A name-value pair to associate with the container as metadata.

ListContainerItemInner withPublicAccess(PublicAccess publicAccess)

Set the publicAccess property: Specifies whether data in the container may be accessed publicly and the level of access.

Methods inherited from AzureEntityResource

Methods inherited from java.lang.Object

Constructor Details

ListContainerItemInner

public ListContainerItemInner()

Creates an instance of ListContainerItemInner class.

Method Details

defaultEncryptionScope

public String defaultEncryptionScope()

Get the defaultEncryptionScope property: Default the container to use specified encryption scope for all writes.

Returns:

the defaultEncryptionScope 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.

denyEncryptionScopeOverride

public Boolean denyEncryptionScopeOverride()

Get the denyEncryptionScopeOverride property: Block override of encryption scope from the container default.

Returns:

the denyEncryptionScopeOverride value.

enableNfsV3AllSquash

public Boolean enableNfsV3AllSquash()

Get the enableNfsV3AllSquash property: Enable NFSv3 all squash on blob container.

Returns:

the enableNfsV3AllSquash value.

enableNfsV3RootSquash

public Boolean enableNfsV3RootSquash()

Get the enableNfsV3RootSquash property: Enable NFSv3 root squash on blob container.

Returns:

the enableNfsV3RootSquash value.

etag

public String etag()

Get the etag property: Resource Etag.

Overrides:

ListContainerItemInner.etag()

Returns:

the etag value.

fromJson

public static ListContainerItemInner fromJson(JsonReader jsonReader)

Reads an instance of ListContainerItemInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ListContainerItemInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

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.

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.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

ListContainerItemInner.id()

Returns:

the id value.

immutabilityPolicy

public ImmutabilityPolicyProperties immutabilityPolicy()

Get the immutabilityPolicy property: The ImmutabilityPolicy property of the container.

Returns:

the immutabilityPolicy 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.

lastModifiedTime

public OffsetDateTime lastModifiedTime()

Get the lastModifiedTime property: Returns the date and time the container was last modified.

Returns:

the lastModifiedTime 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.

leaseState

public LeaseState leaseState()

Get the leaseState property: Lease state of the container.

Returns:

the leaseState value.

leaseStatus

public LeaseStatus leaseStatus()

Get the leaseStatus property: The lease status of the container.

Returns:

the leaseStatus value.

legalHold

public LegalHoldProperties legalHold()

Get the legalHold property: The LegalHold property of the container.

Returns:

the legalHold value.

metadata

public Map metadata()

Get the metadata property: A name-value pair to associate with the container as metadata.

Returns:

the metadata value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ListContainerItemInner.name()

Returns:

the name value.

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.

remainingRetentionDays

public Integer remainingRetentionDays()

Get the remainingRetentionDays property: Remaining retention days for soft deleted blob container.

Returns:

the remainingRetentionDays value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ListContainerItemInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

ListContainerItemInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

ListContainerItemInner.validate()

version

public String version()

Get the version property: The version of the deleted blob container.

Returns:

the version 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.

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.

withEnableNfsV3AllSquash

public ListContainerItemInner withEnableNfsV3AllSquash(Boolean enableNfsV3AllSquash)

Set the enableNfsV3AllSquash property: Enable NFSv3 all squash on blob container.

Parameters:

enableNfsV3AllSquash - the enableNfsV3AllSquash value to set.

Returns:

the ListContainerItemInner object itself.

withEnableNfsV3RootSquash

public ListContainerItemInner withEnableNfsV3RootSquash(Boolean enableNfsV3RootSquash)

Set the enableNfsV3RootSquash property: Enable NFSv3 root squash on blob container.

Parameters:

enableNfsV3RootSquash - the enableNfsV3RootSquash value to set.

Returns:

the ListContainerItemInner object itself.

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.

withMetadata

public ListContainerItemInner withMetadata(Map 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.

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.

Applies to