public class ListBucketOptions extends BaseHttpRequestOptions
import static org.jclouds.s3.commands.options.GetBucketOptions.Builder.*
S3Client connection = // get connection
Future bucket = connection.listBucket("bucketName",withPrefix("home/users").maxKeys(1000));
Modifier and Type | Class and Description |
---|---|
static class |
ListBucketOptions.Builder |
Modifier and Type | Field and Description |
---|---|
static ListBucketOptions |
NONE |
formParameters, headers, matrixParameters, pathSuffix, payload, queryParameters
Constructor and Description |
---|
ListBucketOptions() |
Modifier and Type | Method and Description |
---|---|
ListBucketOptions |
afterMarker(String marker)
Indicates where in the bucket to begin listing.
|
ListBucketOptions |
delimiter(String delimiter)
Causes keys that contain the same string between the prefix and the first occurrence of the
delimiter to be rolled up into a single result element in the CommonPrefixes collection.
|
String |
getDelimiter() |
String |
getMarker() |
Integer |
getMaxResults() |
String |
getPrefix() |
ListBucketOptions |
maxResults(int maxKeys)
The maximum number of keys you'd like to see in the response body.
|
ListBucketOptions |
withPrefix(String prefix)
Limits the response to keys which begin with the indicated prefix.
|
buildFormParameters, buildMatrixParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstMatrixOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
public static final ListBucketOptions NONE
public ListBucketOptions withPrefix(String prefix)
public String getPrefix()
public ListBucketOptions afterMarker(String marker)
public String getMarker()
public ListBucketOptions maxResults(int maxKeys)
public Integer getMaxResults()
public ListBucketOptions delimiter(String delimiter)
public String getDelimiter()
Copyright © 2009-2012 jclouds. All Rights Reserved.