Package org.jclouds.sqs.options
Class CreateQueueOptions
- java.lang.Object
-
- org.jclouds.http.options.BaseHttpRequestOptions
-
- org.jclouds.sqs.options.CreateQueueOptions
-
- All Implemented Interfaces:
Cloneable
,HttpRequestOptions
public class CreateQueueOptions extends BaseHttpRequestOptions implements Cloneable
Options used to receive a message from a queue.- See Also:
- docs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CreateQueueOptions.Builder
-
Field Summary
-
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, pathSuffix, payload, queryParameters
-
-
Constructor Summary
Constructors Constructor Description CreateQueueOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateQueueOptions
attribute(String name, String value)
CreateQueueOptions
attributes(Map<String,String> attributes)
com.google.common.collect.Multimap<String,String>
buildFormParameters()
Builds form parameters representing options.CreateQueueOptions
clone()
boolean
equals(Object obj)
int
hashCode()
String
toString()
CreateQueueOptions
visibilityTimeout(int visibilityTimeout)
The duration (in seconds) that the received messages are hidden from subsequent retrieve requests after being retrieved by a CreateQueue request.-
Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions
buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, replaceHeader
-
-
-
-
Method Detail
-
visibilityTimeout
public CreateQueueOptions visibilityTimeout(int visibilityTimeout)
The duration (in seconds) that the received messages are hidden from subsequent retrieve requests after being retrieved by a CreateQueue request.- Parameters:
visibilityTimeout
- Constraints: 0 to 43200 (maximum 12 hours) Default: The visibility timeout for the queue
-
attributes
public CreateQueueOptions attributes(Map<String,String> attributes)
-
attribute
public CreateQueueOptions attribute(String name, String value)
- See Also:
attributes
-
buildFormParameters
public com.google.common.collect.Multimap<String,String> buildFormParameters()
Description copied from interface:HttpRequestOptions
Builds form parameters representing options.- Specified by:
buildFormParameters
in interfaceHttpRequestOptions
- Overrides:
buildFormParameters
in classBaseHttpRequestOptions
- Returns:
- map that may contain query parameters.
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classBaseHttpRequestOptions
-
clone
public CreateQueueOptions clone()
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classBaseHttpRequestOptions
-
toString
public String toString()
- Overrides:
toString
in classBaseHttpRequestOptions
-
-