|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.sqs.model.DeleteMessageBatchRequest
public class DeleteMessageBatchRequest
Container for the parameters to the DeleteMessageBatch operation.
Deletes multiple messages. This is a batch version of DeleteMessage. The result of the delete action on each message is reported individually in the response.
IMPORTANT: Because the batch request can result in a combination of successful and unsuccessful actions, you should check for batch errors even when the call returns an HTTP status code of 200.
NOTE:Some API actions take lists of parameters. These lists are specified using the param.n notation. Values of n are integers starting from 1. For example, a parameter list with two elements looks like this:
&Attribute.1=this
&Attribute.2=that
AmazonSQS.deleteMessageBatch(DeleteMessageBatchRequest),
Serialized Form| Constructor Summary | |
|---|---|
DeleteMessageBatchRequest()
Default constructor for a new DeleteMessageBatchRequest object. |
|
DeleteMessageBatchRequest(java.lang.String queueUrl)
Constructs a new DeleteMessageBatchRequest object. |
|
DeleteMessageBatchRequest(java.lang.String queueUrl,
java.util.List<DeleteMessageBatchRequestEntry> entries)
Constructs a new DeleteMessageBatchRequest object. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.util.List<DeleteMessageBatchRequestEntry> |
getEntries()
A list of receipt handles for the messages to be deleted. |
java.lang.String |
getQueueUrl()
The URL of the Amazon SQS queue to take action on. |
int |
hashCode()
|
void |
setEntries(java.util.Collection<DeleteMessageBatchRequestEntry> entries)
A list of receipt handles for the messages to be deleted. |
void |
setQueueUrl(java.lang.String queueUrl)
The URL of the Amazon SQS queue to take action on. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
DeleteMessageBatchRequest |
withEntries(java.util.Collection<DeleteMessageBatchRequestEntry> entries)
A list of receipt handles for the messages to be deleted. |
DeleteMessageBatchRequest |
withEntries(DeleteMessageBatchRequestEntry... entries)
A list of receipt handles for the messages to be deleted. |
DeleteMessageBatchRequest |
withQueueUrl(java.lang.String queueUrl)
The URL of the Amazon SQS queue to take action on. |
| Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
|---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DeleteMessageBatchRequest()
public DeleteMessageBatchRequest(java.lang.String queueUrl)
queueUrl - The URL of the Amazon SQS queue to take action on.
public DeleteMessageBatchRequest(java.lang.String queueUrl,
java.util.List<DeleteMessageBatchRequestEntry> entries)
queueUrl - The URL of the Amazon SQS queue to take action on.entries - A list of receipt handles for the messages to be
deleted.| Method Detail |
|---|
public java.lang.String getQueueUrl()
public void setQueueUrl(java.lang.String queueUrl)
queueUrl - The URL of the Amazon SQS queue to take action on.public DeleteMessageBatchRequest withQueueUrl(java.lang.String queueUrl)
Returns a reference to this object so that method calls can be chained together.
queueUrl - The URL of the Amazon SQS queue to take action on.
public java.util.List<DeleteMessageBatchRequestEntry> getEntries()
public void setEntries(java.util.Collection<DeleteMessageBatchRequestEntry> entries)
entries - A list of receipt handles for the messages to be deleted.public DeleteMessageBatchRequest withEntries(DeleteMessageBatchRequestEntry... entries)
Returns a reference to this object so that method calls can be chained together.
entries - A list of receipt handles for the messages to be deleted.
public DeleteMessageBatchRequest withEntries(java.util.Collection<DeleteMessageBatchRequestEntry> entries)
Returns a reference to this object so that method calls can be chained together.
entries - A list of receipt handles for the messages to be deleted.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||