ListBlobsOptions Class
- java.
lang. Object - com.
azure. storage. blob. models. ListBlobsOptions
- com.
public final class ListBlobsOptions
Defines options available to configure the behavior of a call to listBlobsFlatSegment on a BlobContainerClient object. See the constructor for details on each of the options.
Constructor Summary
Constructor | Description |
---|---|
ListBlobsOptions() |
Constructs an unpopulated ListBlobsOptions. |
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(BlobListDetails 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
ListBlobsOptions
public ListBlobsOptions()
Constructs an unpopulated ListBlobsOptions.
Method Details
getDetails
public BlobListDetails 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. May be null to return all blobs.
Returns:
setDetails
public ListBlobsOptions setDetails(BlobListDetails details)
Parameters:
Returns:
setMaxResultsPerPage
public ListBlobsOptions 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 ListBlobsOptions setPrefix(String prefix)
Filters the results to return only blobs whose names begin with the specified prefix. May be null to return all blobs.
Parameters:
Returns: