org.jclouds.blobstore.options
Class ListOptions

java.lang.Object
  extended by 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));

Author:
Adrian Cole

Nested Class Summary
static class ListOptions.Builder
           
static class ListOptions.ImmutableListOptions
           
 
Field Summary
static ListOptions.ImmutableListOptions NONE
           
 
Constructor Summary
ListOptions()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NONE

public static final ListOptions.ImmutableListOptions NONE
Constructor Detail

ListOptions

public ListOptions()
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 lexigraphic 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()
Overrides:
clone in class Object


Copyright © 2009-2011 jclouds. All Rights Reserved.