@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.
|
Modifier and Type | Method and Description |
---|---|
SendMessageBatchRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<SendMessageBatchRequestEntry> |
getEntries()
A list of
SendMessageBatchRequestEntry items. |
String |
getQueueUrl()
The URL of the Amazon SQS queue to which batched messages are sent.
|
int |
hashCode() |
void |
setEntries(Collection<SendMessageBatchRequestEntry> entries)
A list of
SendMessageBatchRequestEntry items. |
void |
setQueueUrl(String queueUrl)
The URL of the Amazon SQS queue to which batched messages are sent.
|
String |
toString()
Returns a string representation of this object.
|
SendMessageBatchRequest |
withEntries(Collection<SendMessageBatchRequestEntry> entries)
A list of
SendMessageBatchRequestEntry items. |
SendMessageBatchRequest |
withEntries(SendMessageBatchRequestEntry... entries)
A list of
SendMessageBatchRequestEntry items. |
SendMessageBatchRequest |
withQueueUrl(String queueUrl)
The URL of the Amazon SQS queue to which batched messages are sent.
|
addHandlerContext, 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()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()