Class SendMessageBatchRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for SendMessageBatchRequest object.SendMessageBatchRequest
(String queueUrl) Constructs a new SendMessageBatchRequest object.SendMessageBatchRequest
(String queueUrl, List<SendMessageBatchRequestEntry> entries) Constructs a new SendMessageBatchRequest object. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
A list of SendMessageBatchRequestEntry items.The URL of the Amazon SQS queue to take action on.int
hashCode()
void
setEntries
(Collection<SendMessageBatchRequestEntry> entries) A list of SendMessageBatchRequestEntry items.void
setQueueUrl
(String queueUrl) The URL of the Amazon SQS queue to take action on.toString()
Returns a string representation of this object; useful for testing and debugging.withEntries
(SendMessageBatchRequestEntry... entries) A list of SendMessageBatchRequestEntry items.A list of SendMessageBatchRequestEntry items.withQueueUrl
(String queueUrl) The URL of the Amazon SQS queue to take action on.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
SendMessageBatchRequest
public SendMessageBatchRequest()Default constructor for SendMessageBatchRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it. -
SendMessageBatchRequest
Constructs a new SendMessageBatchRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
queueUrl
- The URL of the Amazon SQS queue to take action on.Queue URLs are case-sensitive.
-
SendMessageBatchRequest
Constructs a new SendMessageBatchRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
queueUrl
- The URL of the Amazon SQS queue to take action on.Queue URLs are case-sensitive.
entries
- A list of SendMessageBatchRequestEntry items.
-
-
Method Details
-
setQueueUrl
The URL of the Amazon SQS queue to take action on.
Queue URLs are case-sensitive.
- Parameters:
queueUrl
- The URL of the Amazon SQS queue to take action on.Queue URLs are case-sensitive.
-
getQueueUrl
The URL of the Amazon SQS queue to take action on.
Queue URLs are case-sensitive.
- Returns:
- The URL of the Amazon SQS queue to take action on.
Queue URLs are case-sensitive.
-
withQueueUrl
The URL of the Amazon SQS queue to take action on.
Queue URLs are case-sensitive.
- Parameters:
queueUrl
- The URL of the Amazon SQS queue to take action on.Queue URLs are case-sensitive.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getEntries
A list of SendMessageBatchRequestEntry items.
- Returns:
- A list of SendMessageBatchRequestEntry items.
-
setEntries
A list of SendMessageBatchRequestEntry items.
- Parameters:
entries
- A list of SendMessageBatchRequestEntry items.
-
withEntries
A list of SendMessageBatchRequestEntry items.
NOTE: This method appends the values to the existing list (if any). Use
setEntries(java.util.Collection)
orwithEntries(java.util.Collection)
if you want to override the existing values.- Parameters:
entries
- A list of SendMessageBatchRequestEntry items.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withEntries
A list of SendMessageBatchRequestEntry items.
- Parameters:
entries
- A list of SendMessageBatchRequestEntry items.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-