Package com.azure.storage.blob.options
Class FindBlobsOptions
java.lang.Object
com.azure.storage.blob.options.FindBlobsOptions
Defines options available to configure the behavior of a call to
BlobServiceClient.findBlobsByTags(FindBlobsOptions, Duration, com.azure.core.util.Context)
or
BlobServiceAsyncClient.findBlobsByTags(FindBlobsOptions)
. See the constructor
for details on each of the options.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies the maximum number of blobs to return.getQuery()
setMaxResultsPerPage
(Integer maxResultsPerPage) Specifies the maximum number of blobs to return.
-
Constructor Details
-
FindBlobsOptions
- Parameters:
query
- Filters the results to return only blobs whose tags match the specified expression.
-
-
Method Details
-
getQuery
- Returns:
- Filters the results to return only blobs whose tags match the specified expression.
-
getMaxResultsPerPage
Specifies the maximum number of blobs to return. 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:
- the number of blobs that will be returned in a single response
-
setMaxResultsPerPage
Specifies the maximum number of blobs to return. 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:
maxResultsPerPage
- The number of blobs to returned in a single response- Returns:
- the updated FindBlobsOptions object
- Throws:
IllegalArgumentException
- IfmaxResultsPerPage
is less than or equal to0
.
-