org.jclouds.cloudloadbalancers.options
Class ListOptions

java.lang.Object
  extended by org.jclouds.http.options.BaseHttpRequestOptions
      extended by org.jclouds.cloudloadbalancers.options.ListOptions
All Implemented Interfaces:
HttpRequestOptions

public class ListOptions
extends BaseHttpRequestOptions

To reduce load on the service, list operations will return a maximum of 100 items at a time. To navigate the collection, the limit and marker parameters (for example, ?limit=50&marker=1 ) can be set in the URI. If a marker beyond the end of a list is given, an empty list is returned. Note that list operations never return 404 (itemNotFound) faults.

Author:
Adrian Cole
See Also:

Nested Class Summary
static class ListOptions.Builder
           
 
Field Summary
static ListOptions NONE
           
 
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, matrixParameters, pathSuffix, payload, queryParameters
 
Constructor Summary
ListOptions()
           
 
Method Summary
 ListOptions limit(int limit)
          To reduce load on the service, list operations will return a maximum of 100 items at a time.
 ListOptions marker(String marker)
          Indicates where to begin listing, if the previous list was larger than the limit.
 
Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions
buildFormParameters, buildMatrixParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstMatrixOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NONE

public static final ListOptions NONE
Constructor Detail

ListOptions

public ListOptions()
Method Detail

marker

public ListOptions marker(String marker)
Indicates where to begin listing, if the previous list was larger than the limit.


limit

public ListOptions limit(int limit)
To reduce load on the service, list operations will return a maximum of 100 items at a time.

Note that list operations never return itemNotFound (404) faults.



Copyright © 2009-2011 jclouds. All Rights Reserved.