public class ListContainerItem extends AzureEntityResource
Constructor and Description |
---|
ListContainerItem() |
Modifier and Type | Method and Description |
---|---|
Boolean |
hasImmutabilityPolicy()
Get the hasImmutabilityPolicy public property is set to true by SRP if ImmutabilityPolicy has been created for this container.
|
Boolean |
hasLegalHold()
Get the hasLegalHold public property is set to true by SRP if there are at least one existing tag.
|
ImmutabilityPolicyProperties |
immutabilityPolicy()
Get the ImmutabilityPolicy property of the container.
|
org.joda.time.DateTime |
lastModifiedTime()
Get returns the date and time the container was last modified.
|
LeaseDuration |
leaseDuration()
Get specifies whether the lease on a container is of infinite or fixed duration, only when the container is leased.
|
LeaseState |
leaseState()
Get lease state of the container.
|
LeaseStatus |
leaseStatus()
Get the lease status of the container.
|
LegalHoldProperties |
legalHold()
Get the LegalHold property of the container.
|
Map<String,String> |
metadata()
Get a name-value pair to associate with the container as metadata.
|
PublicAccess |
publicAccess()
Get specifies whether data in the container may be accessed publicly and the level of access.
|
ListContainerItem |
withMetadata(Map<String,String> metadata)
Set a name-value pair to associate with the container as metadata.
|
ListContainerItem |
withPublicAccess(PublicAccess publicAccess)
Set specifies whether data in the container may be accessed publicly and the level of access.
|
etag
public PublicAccess publicAccess()
public ListContainerItem withPublicAccess(PublicAccess publicAccess)
publicAccess
- the publicAccess value to setpublic org.joda.time.DateTime lastModifiedTime()
public LeaseStatus leaseStatus()
public LeaseState leaseState()
public LeaseDuration leaseDuration()
public Map<String,String> metadata()
public ListContainerItem withMetadata(Map<String,String> metadata)
metadata
- the metadata value to setpublic ImmutabilityPolicyProperties immutabilityPolicy()
public LegalHoldProperties legalHold()
public Boolean hasLegalHold()
public Boolean hasImmutabilityPolicy()
Copyright © 2019. All rights reserved.