Package org.jclouds.sqs.options
Class SendMessageOptions
- java.lang.Object
-
- org.jclouds.http.options.BaseHttpRequestOptions
-
- org.jclouds.sqs.options.SendMessageOptions
-
- All Implemented Interfaces:
Cloneable
,HttpRequestOptions
public class SendMessageOptions extends BaseHttpRequestOptions implements Cloneable
Options used to send a message.- See Also:
- docs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SendMessageOptions.Builder
-
Field Summary
-
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, pathSuffix, payload, queryParameters
-
-
Constructor Summary
Constructors Constructor Description SendMessageOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.common.collect.Multimap<String,String>
buildFormParameters()
Builds form parameters representing options.SendMessageOptions
clone()
SendMessageOptions
delaySeconds(Integer delaySeconds)
The number of seconds to delay a specific message.boolean
equals(Object obj)
int
hashCode()
String
toString()
-
Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions
buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, replaceHeader
-
-
-
-
Method Detail
-
delaySeconds
public SendMessageOptions delaySeconds(Integer delaySeconds)
The number of seconds to delay a specific message. Messages with a positive DelaySeconds value become available for processing after the delay time is finished. If you don't specify a value, the default value for the queue applies.- Parameters:
delaySeconds
- from 0 to 900 (15 minutes). If this parameter is not used, the default value for the queue applies.
-
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 SendMessageOptions clone()
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classBaseHttpRequestOptions
-
toString
public String toString()
- Overrides:
toString
in classBaseHttpRequestOptions
-
-