你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

BlobContainerListDetails Class

  • java.lang.Object
    • com.azure.storage.blob.models.BlobContainerListDetails

public final class BlobContainerListDetails

This type allows users to specify additional information the service should return with each container when listing containers in an account (via a BlobServiceClient object). Null may be passed if none of the options are desirable.

Constructor Summary

Constructor Description
BlobContainerListDetails()

Constructs an unpopulated BlobContainerListDetails.

Method Summary

Modifier and Type Method and Description
boolean getRetrieveDeleted()

Whether deleted containers should be returned.

boolean getRetrieveMetadata()

Whether metadata should be returned.

boolean getRetrieveSystemContainers()

Whether system containers should be returned.

BlobContainerListDetails setRetrieveDeleted(boolean retrieveDeleted)

Whether deleted containers should be returned.

BlobContainerListDetails setRetrieveMetadata(boolean retrieveMetadata)

Whether metadata should be returned.

BlobContainerListDetails setRetrieveSystemContainers(boolean retrieveSystemContainers)

Whether system containers should be returned.

ListBlobContainersIncludeType toIncludeType()

Deprecated

BlobContainerListDetails now contains multiple options. This will only convert result of {setRetrieveMetadata(boolean retrieveMetadata)} for backwards compatibility.

Methods inherited from java.lang.Object

Constructor Details

BlobContainerListDetails

public BlobContainerListDetails()

Constructs an unpopulated BlobContainerListDetails.

Method Details

getRetrieveDeleted

public boolean getRetrieveDeleted()

Whether deleted containers should be returned.

Returns:

a flag indicating whether deleted containers should be returned

getRetrieveMetadata

public boolean getRetrieveMetadata()

Whether metadata should be returned.

Returns:

a flag indicating whether metadata should be returned in the listing

getRetrieveSystemContainers

public boolean getRetrieveSystemContainers()

Whether system containers should be returned.

Returns:

a flag indicating whether system containers should be returned in the listing

setRetrieveDeleted

public BlobContainerListDetails setRetrieveDeleted(boolean retrieveDeleted)

Whether deleted containers should be returned.

Parameters:

retrieveDeleted - Flag indicating whether deleted containers should be returned.

Returns:

the updated ContainerListDetails object

setRetrieveMetadata

public BlobContainerListDetails setRetrieveMetadata(boolean retrieveMetadata)

Whether metadata should be returned.

Parameters:

retrieveMetadata - Flag indicating whether metadata should be returned

Returns:

the updated ContainerListDetails object

setRetrieveSystemContainers

public BlobContainerListDetails setRetrieveSystemContainers(boolean retrieveSystemContainers)

Whether system containers should be returned.

Parameters:

retrieveSystemContainers - Flag indicating whether system containers should be returned

Returns:

the updated ContainerListDetails object

toIncludeType

@Deprecated
public ListBlobContainersIncludeType toIncludeType()

Deprecated

BlobContainerListDetails now contains multiple options. This will only convert result of {setRetrieveMetadata(boolean retrieveMetadata)} for backwards compatibility.

Returns:

the listing flags

Applies to