public class ListBlobsOptions extends ListOptions
import static org.jclouds.azureblob.options.ListBlobsOptions.Builder.*
import org.jclouds.azureblob.AzureBlobClient;
AzureBlobClient connection = // get connection
Set blobs = connection.listBlobs("containerName", delimiter("/"));
* | Modifier and Type | Class and Description |
|---|---|
static class |
ListBlobsOptions.Builder |
NONEformParameters, headers, pathSuffix, payload, queryParameters| Constructor and Description |
|---|
ListBlobsOptions() |
| Modifier and Type | Method and Description |
|---|---|
ListBlobsOptions |
delimiter(String delimiter)
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. |
String |
getDelimiter() |
Set<String> |
getInclude() |
ListBlobsOptions |
include(Set<ListBlobsInclude> datasets) |
ListBlobsOptions |
includeMetadata()
Include this parameter to specify that the container's metadata be returned as part of the
response body.
|
ListBlobsOptions |
marker(String marker)
A string value that identifies the portion of the list to be returned with the next list
operation.
|
ListBlobsOptions |
maxResults(int maxresults)
Specifies the maximum number of containers to return.
|
ListBlobsOptions |
prefix(String prefix)
Filters the results to return only objects whose name begins with the specified prefix.
|
getIncludeMetadata, getMarker, getMaxResults, getPrefixbuildFormParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toStringpublic ListBlobsOptions delimiter(String delimiter)
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.delimiter - a single character or a string.public String getDelimiter()
public ListBlobsOptions includeMetadata()
includeMetadata in class ListOptionspublic ListBlobsOptions marker(String marker)
marker in class ListOptionspublic ListBlobsOptions maxResults(int maxresults)
maxResults in class ListOptionspublic ListBlobsOptions prefix(String prefix)
prefix in class ListOptionspublic ListBlobsOptions include(Set<ListBlobsInclude> datasets)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.