Package org.jclouds.sqs.options
Class ListQueuesOptions
- java.lang.Object
-
- org.jclouds.http.options.BaseHttpRequestOptions
-
- org.jclouds.sqs.options.ListQueuesOptions
-
- All Implemented Interfaces:
HttpRequestOptions
public class ListQueuesOptions extends BaseHttpRequestOptions
Contains options supported in the Form API for the ListQueues operation.Usage
The recommended way to instantiate a ListQueuesOptions object is to statically import ListQueuesOptions.Builder.* and invoke a static creation method followed by an instance mutator (if needed):import static org.jclouds.sqs.options.ListQueuesOptions.Builder.* SQSApi connection = // get connection Set
queues = connection.listQueuesInRegion(queuePrefix("foo"));
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ListQueuesOptions.Builder
-
Field Summary
-
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, pathSuffix, payload, queryParameters
-
-
Constructor Summary
Constructors Constructor Description ListQueuesOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListQueuesOptions
queuePrefix(String prefix)
String to use for filtering the list results.-
Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions
buildFormParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
-
-
-
-
Method Detail
-
queuePrefix
public ListQueuesOptions queuePrefix(String prefix)
String to use for filtering the list results. Only those queues whose name begins with the specified string are returned.- Parameters:
prefix
- Maximum 80 characters; alphanumeric characters, hyphens (-), and underscores (_) are allowed.
-
-