public class DeleteMessageBatchRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
DeleteMessageBatchRequest()
Default constructor for DeleteMessageBatchRequest object.
|
DeleteMessageBatchRequest(String queueUrl)
Constructs a new DeleteMessageBatchRequest object.
|
DeleteMessageBatchRequest(String queueUrl,
List<DeleteMessageBatchRequestEntry> entries)
Constructs a new DeleteMessageBatchRequest object.
|
| Modifier and Type | Method and Description |
|---|---|
DeleteMessageBatchRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
List<DeleteMessageBatchRequestEntry> |
getEntries()
A list of receipt handles for the messages to be deleted.
|
String |
getQueueUrl()
The URL of the Amazon SQS queue to take action on.
|
int |
hashCode() |
void |
setEntries(Collection<DeleteMessageBatchRequestEntry> entries)
A list of receipt handles for the messages to be deleted.
|
void |
setQueueUrl(String queueUrl)
The URL of the Amazon SQS queue to take action on.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteMessageBatchRequest |
withEntries(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(String queueUrl)
The URL of the Amazon SQS queue to take action on.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic DeleteMessageBatchRequest()
public DeleteMessageBatchRequest(String queueUrl)
queueUrl - The URL of the Amazon SQS queue to take action on.public DeleteMessageBatchRequest(String queueUrl, 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.public void setQueueUrl(String queueUrl)
The URL of the Amazon SQS queue to take action on.
queueUrl - The URL of the Amazon SQS queue to take action on.public String getQueueUrl()
The URL of the Amazon SQS queue to take action on.
public DeleteMessageBatchRequest withQueueUrl(String queueUrl)
The URL of the Amazon SQS queue to take action on.
queueUrl - The URL of the Amazon SQS queue to take action on.public List<DeleteMessageBatchRequestEntry> getEntries()
A list of receipt handles for the messages to be deleted.
public void setEntries(Collection<DeleteMessageBatchRequestEntry> entries)
A list of receipt handles for the messages to be deleted.
entries - A list of receipt handles for the messages to be deleted.public DeleteMessageBatchRequest withEntries(DeleteMessageBatchRequestEntry... entries)
A list of receipt handles for the messages to be deleted.
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 receipt handles for the messages to be deleted.public DeleteMessageBatchRequest withEntries(Collection<DeleteMessageBatchRequestEntry> entries)
A list of receipt handles for the messages to be deleted.
entries - A list of receipt handles for the messages to be deleted.public String toString()
toString in class ObjectObject.toString()public DeleteMessageBatchRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.