Java com.amazonaws.services.sqs.model ReceiveMessageRequest fields, constructors, methods, implement or subclass

Example usage for Java com.amazonaws.services.sqs.model ReceiveMessageRequest fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.amazonaws.services.sqs.model ReceiveMessageRequest.

The text is from its open source code.

Constructor

ReceiveMessageRequest(String queueUrl)
Constructs a new ReceiveMessageRequest object.
ReceiveMessageRequest()
Default constructor for ReceiveMessageRequest object.

Method

IntegergetMaxNumberOfMessages()

The maximum number of messages to return.

java.util.ListgetMessageAttributeNames()

The name of the message attribute, where N is the index.

StringgetQueueUrl()

The URL of the Amazon SQS queue from which messages are received.

RequestClientOptionsgetRequestClientOptions()
Gets the options stored with this request object.
voidsetAttributeNames(java.util.Collection attributeNames)

A list of attributes that need to be returned along with each message.

voidsetMaxNumberOfMessages(Integer maxNumberOfMessages)

The maximum number of messages to return.

voidsetMessageAttributeNames(java.util.Collection messageAttributeNames)

The name of the message attribute, where N is the index.

voidsetQueueUrl(String queueUrl)

The URL of the Amazon SQS queue from which messages are received.

voidsetVisibilityTimeout(Integer visibilityTimeout)

The duration (in seconds) that the received messages are hidden from subsequent retrieve requests after being retrieved by a ReceiveMessage request.

voidsetWaitTimeSeconds(Integer waitTimeSeconds)

The duration (in seconds) for which the call waits for a message to arrive in the queue before returning.

ReceiveMessageRequestwithAttributeNames(String... attributeNames)

A list of attributes that need to be returned along with each message.

ReceiveMessageRequestwithAttributeNames(java.util.Collection attributeNames)

A list of attributes that need to be returned along with each message.

ReceiveMessageRequestwithAttributeNames(QueueAttributeName... attributeNames)

A list of attributes that need to be returned along with each message.

ReceiveMessageRequestwithMaxNumberOfMessages(Integer maxNumberOfMessages)

The maximum number of messages to return.

ReceiveMessageRequestwithMessageAttributeNames(String... messageAttributeNames)

The name of the message attribute, where N is the index.

ReceiveMessageRequestwithMessageAttributeNames(java.util.Collection messageAttributeNames)

The name of the message attribute, where N is the index.

ReceiveMessageRequestwithVisibilityTimeout(Integer visibilityTimeout)

The duration (in seconds) that the received messages are hidden from subsequent retrieve requests after being retrieved by a ReceiveMessage request.

ReceiveMessageRequestwithWaitTimeSeconds(Integer waitTimeSeconds)

The duration (in seconds) for which the call waits for a message to arrive in the queue before returning.