你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ListBlobContainersOptions Class
- java.
lang. Object - com.
azure. storage. blob. models. ListBlobContainersOptions
- com.
public final class ListBlobContainersOptions
Defines options available to configure the behavior of a call to listContainersSegment on a BlobServiceClient object. See the constructor for details on each of the options. Null may be passed in place of an object of this type if no options are desirable.
Constructor Summary
Constructor | Description |
---|---|
ListBlobContainersOptions() |
Constructs an unpopulated ListBlobContainersOptions. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Blob |
getDetails() |
Integer |
getMaxResultsPerPage()
Specifies the maximum number of blobs to return, including all Blob |
String |
getPrefix()
Filters the results to return only blobs whose names begin with the specified prefix. |
List |
setDetails(BlobContainerListDetails details) |
List |
setMaxResultsPerPage(Integer maxResultsPerPage)
Specifies the maximum number of blobs to return, including all Blob |
List |
setPrefix(String prefix)
Filters the results to return only blobs whose names begin with the specified prefix. |
Methods inherited from java.lang.Object
Constructor Details
ListBlobContainersOptions
public ListBlobContainersOptions()
Constructs an unpopulated ListBlobContainersOptions.
Method Details
getDetails
public BlobContainerListDetails getDetails()
Returns:
getMaxResultsPerPage
public Integer getMaxResultsPerPage()
Specifies the maximum number of blobs to return, including all BlobPrefix elements. If the request does not specify maxResultsPerPage or specifies a value greater than 5,000, the server will return up to 5,000 items.
Returns:
getPrefix
public String getPrefix()
Filters the results to return only blobs whose names begin with the specified prefix.
Returns:
setDetails
public ListBlobContainersOptions setDetails(BlobContainerListDetails details)
Parameters:
Returns:
setMaxResultsPerPage
public ListBlobContainersOptions setMaxResultsPerPage(Integer maxResultsPerPage)
Specifies the maximum number of blobs to return, including all BlobPrefix elements. If the request does not specify maxResultsPerPage or specifies a value greater than 5,000, the server will return up to 5,000 items.
Parameters:
Returns:
setPrefix
public ListBlobContainersOptions setPrefix(String prefix)
Filters the results to return only blobs whose names begin with the specified prefix.
Parameters:
Returns: