@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SendMessageBatchRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
SendMessageBatchRequest()
Default constructor for SendMessageBatchRequest object.
|
SendMessageBatchRequest(String queueUrl)
Constructs a new SendMessageBatchRequest object.
|
SendMessageBatchRequest(String queueUrl,
List<SendMessageBatchRequestEntry> entries)
Constructs a new SendMessageBatchRequest object.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public SendMessageBatchRequest()
public SendMessageBatchRequest(String queueUrl)
queueUrl
- The URL of the Amazon SQS queue to which batched messages are sent.
Queue URLs and names are case-sensitive.
public SendMessageBatchRequest(String queueUrl, List<SendMessageBatchRequestEntry> entries)
queueUrl
- The URL of the Amazon SQS queue to which batched messages are sent.
Queue URLs and names are case-sensitive.
entries
- A list of SendMessageBatchRequestEntry
items.public void setQueueUrl(String queueUrl)
The URL of the Amazon SQS queue to which batched messages are sent.
Queue URLs and names are case-sensitive.
queueUrl
- The URL of the Amazon SQS queue to which batched messages are sent.
Queue URLs and names are case-sensitive.
public String getQueueUrl()
The URL of the Amazon SQS queue to which batched messages are sent.
Queue URLs and names are case-sensitive.
Queue URLs and names are case-sensitive.
public SendMessageBatchRequest withQueueUrl(String queueUrl)
The URL of the Amazon SQS queue to which batched messages are sent.
Queue URLs and names are case-sensitive.
queueUrl
- The URL of the Amazon SQS queue to which batched messages are sent.
Queue URLs and names are case-sensitive.
public List<SendMessageBatchRequestEntry> getEntries()
A list of SendMessageBatchRequestEntry
items.
SendMessageBatchRequestEntry
items.public void setEntries(Collection<SendMessageBatchRequestEntry> entries)
A list of SendMessageBatchRequestEntry
items.
entries
- A list of SendMessageBatchRequestEntry
items.public SendMessageBatchRequest withEntries(SendMessageBatchRequestEntry... entries)
A list of SendMessageBatchRequestEntry
items.
NOTE: This method appends the values to the existing list (if any). Use
setEntries(java.util.Collection)
or withEntries(java.util.Collection)
if you want to override
the existing values.
entries
- A list of SendMessageBatchRequestEntry
items.public SendMessageBatchRequest withEntries(Collection<SendMessageBatchRequestEntry> entries)
A list of SendMessageBatchRequestEntry
items.
entries
- A list of SendMessageBatchRequestEntry
items.public String toString()
toString
in class Object
Object.toString()
public SendMessageBatchRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2019. All rights reserved.