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 |
NONE
formParameters, 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, getPrefix
buildFormParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
public 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 ListOptions
public ListBlobsOptions marker(String marker)
marker
in class ListOptions
public ListBlobsOptions maxResults(int maxresults)
maxResults
in class ListOptions
public ListBlobsOptions prefix(String prefix)
prefix
in class ListOptions
public ListBlobsOptions include(Set<ListBlobsInclude> datasets)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.