BlobContainerListDetails Class
- java.
lang. Object - com.
azure. storage. blob. models. BlobContainerListDetails
- com.
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. |
Blob |
setRetrieveDeleted(boolean retrieveDeleted)
Whether deleted containers should be returned. |
Blob |
setRetrieveMetadata(boolean retrieveMetadata)
Whether metadata should be returned. |
Blob |
setRetrieveSystemContainers(boolean retrieveSystemContainers)
Whether system containers should be returned. |
List |
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:
getRetrieveMetadata
public boolean getRetrieveMetadata()
Whether metadata should be returned.
Returns:
getRetrieveSystemContainers
public boolean getRetrieveSystemContainers()
Whether system containers should be returned.
Returns:
setRetrieveDeleted
public BlobContainerListDetails setRetrieveDeleted(boolean retrieveDeleted)
Whether deleted containers should be returned.
Parameters:
Returns:
setRetrieveMetadata
public BlobContainerListDetails setRetrieveMetadata(boolean retrieveMetadata)
Whether metadata should be returned.
Parameters:
Returns:
setRetrieveSystemContainers
public BlobContainerListDetails setRetrieveSystemContainers(boolean retrieveSystemContainers)
Whether system containers should be returned.
Parameters:
Returns:
toIncludeType
@Deprecated
public ListBlobContainersIncludeType toIncludeType()
Deprecated
Returns:
Applies to
Azure SDK for Java