public class ReceiveMessageOptions extends BaseHttpRequestOptions implements Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
ReceiveMessageOptions.Builder |
formParameters, headers, pathSuffix, payload, queryParameters
Constructor and Description |
---|
ReceiveMessageOptions() |
Modifier and Type | Method and Description |
---|---|
ReceiveMessageOptions |
attribute(String attribute) |
ReceiveMessageOptions |
attributes(Iterable<String> attributes)
The attribute you want to get.
|
com.google.common.collect.Multimap<String,String> |
buildFormParameters()
Builds form parameters representing options.
|
ReceiveMessageOptions |
clone() |
boolean |
equals(Object obj) |
int |
hashCode() |
String |
toString() |
ReceiveMessageOptions |
visibilityTimeout(Integer visibilityTimeout)
The duration (in seconds) that the received messages are hidden from
subsequent retrieve requests after being retrieved by a ReceiveMessage
request.
|
buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, replaceHeader
public ReceiveMessageOptions visibilityTimeout(Integer visibilityTimeout)
visibilityTimeout
- Constraints: 0 to 43200 (maximum 12 hours)
Default: The visibility timeout for the queuepublic ReceiveMessageOptions attributes(Iterable<String> attributes)
public ReceiveMessageOptions attribute(String attribute)
attributes
public com.google.common.collect.Multimap<String,String> buildFormParameters()
HttpRequestOptions
buildFormParameters
in interface HttpRequestOptions
buildFormParameters
in class BaseHttpRequestOptions
public int hashCode()
hashCode
in class BaseHttpRequestOptions
public ReceiveMessageOptions clone()
public boolean equals(Object obj)
equals
in class BaseHttpRequestOptions
public String toString()
toString
in class BaseHttpRequestOptions
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.