Example usage for Java com.amazonaws.services.sqs.model ReceiveMessageRequest fields, constructors, methods, implement or subclass
The text is from its open source code.
ReceiveMessageRequest(String queueUrl) Constructs a new ReceiveMessageRequest object. | |
ReceiveMessageRequest() Default constructor for ReceiveMessageRequest object. |
Integer | getMaxNumberOfMessages() The maximum number of messages to return. |
java.util.List | getMessageAttributeNames() The name of the message attribute, where N is the index. |
String | getQueueUrl() The URL of the Amazon SQS queue from which messages are received. |
RequestClientOptions | getRequestClientOptions() Gets the options stored with this request object. |
void | setAttributeNames(java.util.Collection A list of attributes that need to be returned along with each message. |
void | setMaxNumberOfMessages(Integer maxNumberOfMessages) The maximum number of messages to return. |
void | setMessageAttributeNames(java.util.Collection The name of the message attribute, where N is the index. |
void | setQueueUrl(String queueUrl) The URL of the Amazon SQS queue from which messages are received. |
void | setVisibilityTimeout(Integer visibilityTimeout) The duration (in seconds) that the received messages are hidden from subsequent retrieve requests after being retrieved by a |
void | setWaitTimeSeconds(Integer waitTimeSeconds) The duration (in seconds) for which the call waits for a message to arrive in the queue before returning. |
ReceiveMessageRequest | withAttributeNames(String... attributeNames) A list of attributes that need to be returned along with each message. |
ReceiveMessageRequest | withAttributeNames(java.util.Collection A list of attributes that need to be returned along with each message. |
ReceiveMessageRequest | withAttributeNames(QueueAttributeName... attributeNames) A list of attributes that need to be returned along with each message. |
ReceiveMessageRequest | withMaxNumberOfMessages(Integer maxNumberOfMessages) The maximum number of messages to return. |
ReceiveMessageRequest | withMessageAttributeNames(String... messageAttributeNames) The name of the message attribute, where N is the index. |
ReceiveMessageRequest | withMessageAttributeNames(java.util.Collection The name of the message attribute, where N is the index. |
ReceiveMessageRequest | withVisibilityTimeout(Integer visibilityTimeout) The duration (in seconds) that the received messages are hidden from subsequent retrieve requests after being retrieved by a |
ReceiveMessageRequest | withWaitTimeSeconds(Integer waitTimeSeconds) The duration (in seconds) for which the call waits for a message to arrive in the queue before returning. |