public final class ListBlobsOptions
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static ListBlobsOptions |
DEFAULT
An object representing the default options: no details, prefix, or delimiter.
|
Constructor and Description |
---|
ListBlobsOptions(BlobListingDetails details,
java.lang.String prefix,
java.lang.String delimiter,
java.lang.Integer maxResults)
A
ListBlobsOptions object. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDelimiter() |
BlobListingDetails |
getDetails() |
java.lang.Integer |
getMaxResults() |
java.lang.String |
getPrefix() |
public static final ListBlobsOptions DEFAULT
public ListBlobsOptions(BlobListingDetails details, java.lang.String prefix, java.lang.String delimiter, java.lang.Integer maxResults)
ListBlobsOptions
object.details
- A BlobListingDetails
object indicating what additional information the service should return with
each blob.prefix
- A String
that filters the results to return only blobs whose names begin with the specified prefix.delimiter
- A String
. When the request includes this parameter, the operation returns a BlobPrefix element in
the response body that acts as a placeholder for all blobs whose names begin with the same substring up to
the appearance of the delimiter character. The delimiter may be a single character or a string.maxResults
- Specifies the maximum number of blobs to return, including all BlobPrefix elements. If the request does not
specify maxResults or specifies a value greater than 5,000, the server will return up to 5,000 items.public BlobListingDetails getDetails()
BlobListingDetails
object indicating what additional information the service should return
with each blob.public java.lang.String getPrefix()
String
that filters the results to return only blobs whose names begin with the specified
prefix.public java.lang.String getDelimiter()
String
. When the request includes this parameter, the operation returns a BlobPrefix element
in the response body that acts as a placeholder for all blobs whose names begin with the same substring
up to the appearance of the delimiter character. The delimiter may be a single character or a string.public java.lang.Integer getMaxResults()