public class ListOptions extends BaseHttpRequestOptions
Modifier and Type | Class and Description |
---|---|
static class |
ListOptions.Builder |
Modifier and Type | Field and Description |
---|---|
static ListOptions |
NONE |
formParameters, headers, pathSuffix, payload, queryParameters
Constructor and Description |
---|
ListOptions() |
Modifier and Type | Method and Description |
---|---|
Integer |
getLimit() |
String |
getToken() |
ListOptions |
includeMeta()
the maximum number of items that should be returned.
|
ListOptions |
limit(int maxresults)
the maximum number of items that should be returned.
|
boolean |
metaIncluded() |
ListOptions |
token(String token)
specifies the position to resume listing
note this is an opaque value and should not be interpreted. |
buildFormParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
public static final ListOptions NONE
public ListOptions token(String token)
note this is an opaque value and should not be interpreted.
public String getToken()
public ListOptions limit(int maxresults)
public ListOptions includeMeta()
public boolean metaIncluded()
public Integer getLimit()
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.