public final class ListBlobsOptions extends Object
BlobContainerClient
object. See the constructor for details on each of the options.Constructor and Description |
---|
ListBlobsOptions()
Constructs an unpopulated
ListBlobsOptions . |
Modifier and Type | Method and Description |
---|---|
BlobListDetails |
getDetails() |
Integer |
getMaxResultsPerPage()
Specifies the maximum number of blobs to return, including all BlobPrefix elements.
|
String |
getPrefix()
Filters the results to return only blobs whose names begin with the specified prefix.
|
ListBlobsOptions |
setDetails(BlobListDetails details) |
ListBlobsOptions |
setMaxResultsPerPage(Integer maxResultsPerPage)
Specifies the maximum number of blobs to return, including all BlobPrefix elements.
|
ListBlobsOptions |
setPrefix(String prefix)
Filters the results to return only blobs whose names begin with the specified prefix.
|
public ListBlobsOptions()
ListBlobsOptions
.public BlobListDetails getDetails()
public ListBlobsOptions setDetails(BlobListDetails details)
details
- The details for listing specific blobspublic String getPrefix()
public ListBlobsOptions setPrefix(String prefix)
prefix
- A prefix that a blob must match to be returnedpublic Integer getMaxResultsPerPage()
public ListBlobsOptions setMaxResultsPerPage(Integer maxResultsPerPage)
maxResultsPerPage
- The number of blobs to returned in a single responseIllegalArgumentException
- If maxResultsPerPage
is less than or equal to 0
.Copyright © 2019 Microsoft Corporation. All rights reserved.