Class StreamMessagesOptions
- java.lang.Object
-
- org.jclouds.http.options.BaseHttpRequestOptions
-
- org.jclouds.openstack.v2_0.options.PaginationOptions
-
- org.jclouds.openstack.marconi.v1.options.StreamMessagesOptions
-
- All Implemented Interfaces:
HttpRequestOptions
public class StreamMessagesOptions extends PaginationOptions
Options used to control the messages returned in the response.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStreamMessagesOptions.Builder
-
Field Summary
Fields Modifier and Type Field Description static StreamMessagesOptionsNONE-
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, pathSuffix, payload, queryParameters
-
-
Constructor Summary
Constructors Constructor Description StreamMessagesOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StreamMessagesOptionsecho(boolean echo)StringgetMarker()StreamMessagesOptionsincludeClaimed(boolean includeClaimed)StreamMessagesOptionslimit(int limit)To reduce load on the service, list operations will return a maximum of 1,000 items at a time.StreamMessagesOptionsmarker(String marker)The marker parameter is the ID of the last item in the previous list.StreamMessagesOptionsqueryParameters(com.google.common.collect.Multimap<String,String> queryParams)Many OpenStack interfaces take different params for pagination.-
Methods inherited from class org.jclouds.openstack.v2_0.options.PaginationOptions
changesSince
-
Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions
buildFormParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
-
-
-
-
Field Detail
-
NONE
public static final StreamMessagesOptions NONE
-
-
Method Detail
-
queryParameters
public StreamMessagesOptions queryParameters(com.google.common.collect.Multimap<String,String> queryParams)
Many OpenStack interfaces take different params for pagination. Using queryParams allows you to make use of them all if necessary.- Overrides:
queryParametersin classPaginationOptions
-
marker
public StreamMessagesOptions marker(String marker)
Description copied from class:PaginationOptionsThe marker parameter is the ID of the last item in the previous list. Items are sorted by create time in descending order. When a create time is not available they are sorted by ID.- Overrides:
markerin classPaginationOptions- See Also:
StreamMessagesOptions.Builder.marker(String)
-
limit
public StreamMessagesOptions limit(int limit)
Description copied from class:PaginationOptionsTo reduce load on the service, list operations will return a maximum of 1,000 items at a time. To navigate the collection, the parameters limit and offset can be set in the URI (e.g.?limit=0&offset=0). If an offset is given beyond the end of a list an empty list will be returned. Note that list operations never return itemNotFound (404) faults.- Overrides:
limitin classPaginationOptions- See Also:
StreamMessagesOptions.Builder.limit(int)
-
echo
public StreamMessagesOptions echo(boolean echo)
-
includeClaimed
public StreamMessagesOptions includeClaimed(boolean includeClaimed)
-
getMarker
public String getMarker()
- Returns:
- The String representation of the marker for these StreamMessagesOptions.
-
-