你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
BlobListDetails Class
- java.
lang. Object - com.
azure. storage. blob. models. BlobListDetails
- com.
public final class BlobListDetails
This type allows users to specify additional information the service should return with each blob when listing blobs in a container (via a BlobContainerClient object). This type is immutable to ensure thread-safety of requests, so changing the details for a different listing operation requires construction of a new object. Null may be passed if none of the options are desirable.
Constructor Summary
Constructor | Description |
---|---|
BlobListDetails() |
Constructs an unpopulated BlobListDetails. |
Method Summary
Modifier and Type | Method and Description |
---|---|
boolean |
getRetrieveCopy()
Whether blob metadata related to any current or previous Copy Blob operation should be included in the response. |
boolean |
getRetrieveDeletedBlobs()
Whether blobs which have been soft deleted should be returned. |
boolean |
getRetrieveDeletedBlobsWithVersions()
Whether blobs which have been deleted with versioning. |
boolean |
getRetrieveImmutabilityPolicy()
Whether immutability policy for the blob should be returned. |
boolean |
getRetrieveLegalHold()
Whether legal hold for the blob should be returned. |
boolean |
getRetrieveMetadata()
Whether blob metadata should be returned. |
boolean |
getRetrieveSnapshots()
Whether snapshots should be returned. |
boolean |
getRetrieveTags()
Whether blob tags should be returned. |
boolean |
getRetrieveUncommittedBlobs()
Whether blobs for which blocks have been uploaded, but which have not been committed using Put Block List, should be included in the response. |
boolean |
getRetrieveVersions()
Whether versions should be returned. |
Blob |
setRetrieveCopy(boolean retrieveCopy)
Whether blob metadata related to any current or previous Copy Blob operation should be included in the response. |
Blob |
setRetrieveDeletedBlobs(boolean retrieveDeletedBlobs)
Whether blobs which have been soft deleted should be returned. |
Blob |
setRetrieveDeletedBlobsWithVersions(boolean retrieveDeletedWithVersions)
Whether blobs which have been deleted with versioning should be returned. |
Blob |
setRetrieveImmutabilityPolicy(boolean retrieveImmutabilityPolicy)
Whether immutability policy for the blob should be returned. |
Blob |
setRetrieveLegalHold(boolean retrieveLegalHold)
Whether legal hold for the blob should be returned. |
Blob |
setRetrieveMetadata(boolean retrieveMetadata)
Whether blob metadata should be returned. |
Blob |
setRetrieveSnapshots(boolean retrieveSnapshots)
Whether snapshots should be returned. |
Blob |
setRetrieveTags(boolean retrieveTags)
Whether blob tags should be returned. |
Blob |
setRetrieveUncommittedBlobs(boolean retrieveUncommittedBlobs)
Whether blobs for which blocks have been uploaded, but which have not been committed using Put Block List, should be included in the response. |
Blob |
setRetrieveVersions(boolean retrieveVersions)
Whether versions should be returned. |
Array |
toList() |
Methods inherited from java.lang.Object
Constructor Details
BlobListDetails
public BlobListDetails()
Constructs an unpopulated BlobListDetails.
Method Details
getRetrieveCopy
public boolean getRetrieveCopy()
Whether blob metadata related to any current or previous Copy Blob operation should be included in the response.
Returns:
getRetrieveDeletedBlobs
public boolean getRetrieveDeletedBlobs()
Whether blobs which have been soft deleted should be returned.
Returns:
getRetrieveDeletedBlobsWithVersions
public boolean getRetrieveDeletedBlobsWithVersions()
Whether blobs which have been deleted with versioning.
Returns:
getRetrieveImmutabilityPolicy
public boolean getRetrieveImmutabilityPolicy()
Whether immutability policy for the blob should be returned.
Returns:
getRetrieveLegalHold
public boolean getRetrieveLegalHold()
Whether legal hold for the blob should be returned.
Returns:
getRetrieveMetadata
public boolean getRetrieveMetadata()
Whether blob metadata should be returned.
Returns:
getRetrieveSnapshots
public boolean getRetrieveSnapshots()
Whether snapshots should be returned. Snapshots are listed from oldest to newest.
Returns:
getRetrieveTags
public boolean getRetrieveTags()
Whether blob tags should be returned.
Returns:
getRetrieveUncommittedBlobs
public boolean getRetrieveUncommittedBlobs()
Whether blobs for which blocks have been uploaded, but which have not been committed using Put Block List, should be included in the response.
Returns:
getRetrieveVersions
public boolean getRetrieveVersions()
Whether versions should be returned. Versions are listed from oldest to newest.
Returns:
setRetrieveCopy
public BlobListDetails setRetrieveCopy(boolean retrieveCopy)
Whether blob metadata related to any current or previous Copy Blob operation should be included in the response.
Parameters:
Returns:
setRetrieveDeletedBlobs
public BlobListDetails setRetrieveDeletedBlobs(boolean retrieveDeletedBlobs)
Whether blobs which have been soft deleted should be returned.
Parameters:
Returns:
setRetrieveDeletedBlobsWithVersions
public BlobListDetails setRetrieveDeletedBlobsWithVersions(boolean retrieveDeletedWithVersions)
Whether blobs which have been deleted with versioning should be returned.
Parameters:
Returns:
setRetrieveImmutabilityPolicy
public BlobListDetails setRetrieveImmutabilityPolicy(boolean retrieveImmutabilityPolicy)
Whether immutability policy for the blob should be returned.
Parameters:
Returns:
setRetrieveLegalHold
public BlobListDetails setRetrieveLegalHold(boolean retrieveLegalHold)
Whether legal hold for the blob should be returned.
Parameters:
Returns:
setRetrieveMetadata
public BlobListDetails setRetrieveMetadata(boolean retrieveMetadata)
Whether blob metadata should be returned.
Parameters:
Returns:
setRetrieveSnapshots
public BlobListDetails setRetrieveSnapshots(boolean retrieveSnapshots)
Whether snapshots should be returned. Snapshots are listed from oldest to newest.
Parameters:
Returns:
setRetrieveTags
public BlobListDetails setRetrieveTags(boolean retrieveTags)
Whether blob tags should be returned.
Parameters:
Returns:
setRetrieveUncommittedBlobs
public BlobListDetails setRetrieveUncommittedBlobs(boolean retrieveUncommittedBlobs)
Whether blobs for which blocks have been uploaded, but which have not been committed using Put Block List, should be included in the response.
Parameters:
Returns:
setRetrieveVersions
public BlobListDetails setRetrieveVersions(boolean retrieveVersions)
Whether versions should be returned. Versions are listed from oldest to newest.
Parameters:
Returns:
toList
public ArrayList
Returns: