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:
Applies to
Azure SDK for Java
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기