Package org.jclouds.blobstore.options
Class ListOptions
- java.lang.Object
-
- org.jclouds.blobstore.options.ListOptions
-
- All Implemented Interfaces:
Cloneable
- Direct Known Subclasses:
ListContainerOptions
,ListOptions.ImmutableListOptions
public class ListOptions extends Object implements Cloneable
Contains options supported in the list container operation.Usage
The recommended way to instantiate a ListOptions object is to statically import ListOptions.* and invoke a static creation method followed by an instance mutator (if needed):import static org.jclouds.blobstore.options.ListOptions.Builder.* BlobStore connection = // get connection Future
> list = connection.list(maxResults(1000));
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ListOptions.Builder
static class
ListOptions.ImmutableListOptions
-
Field Summary
Fields Modifier and Type Field Description static ListOptions.ImmutableListOptions
NONE
-
Constructor Summary
Constructors Constructor Description ListOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListOptions
afterMarker(String marker)
Place to continue a listing at.protected ListOptions
clone()
String
getMarker()
Integer
getMaxResults()
ListOptions
maxResults(int maxKeys)
The maximum number of values you'd like to see in the response body.
-
-
-
Field Detail
-
NONE
public static final ListOptions.ImmutableListOptions NONE
-
-
Method Detail
-
getMaxResults
public Integer getMaxResults()
-
getMarker
public String getMarker()
-
afterMarker
public ListOptions afterMarker(String marker)
Place to continue a listing at. This must be the value returned from the last list object, as not all blobstores use lexicographic lists.
-
maxResults
public ListOptions maxResults(int maxKeys)
The maximum number of values you'd like to see in the response body. The server might return fewer than this many values, but will not return more.
-
clone
protected ListOptions clone()
-
-