@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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() |
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 from which messages are deleted.
|
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 from which messages are deleted.
|
String |
toString()
Returns a string representation of this object.
|
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 from which messages are deleted.
|
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 DeleteMessageBatchRequest()
public DeleteMessageBatchRequest(String queueUrl)
queueUrl
- The URL of the Amazon SQS queue from which messages are deleted.
Queue URLs and names are case-sensitive.
public DeleteMessageBatchRequest(String queueUrl, List<DeleteMessageBatchRequestEntry> entries)
queueUrl
- The URL of the Amazon SQS queue from which messages are deleted.
Queue URLs and names are case-sensitive.
entries
- A list of receipt handles for the messages to be deleted.public void setQueueUrl(String queueUrl)
The URL of the Amazon SQS queue from which messages are deleted.
Queue URLs and names are case-sensitive.
queueUrl
- The URL of the Amazon SQS queue from which messages are deleted.
Queue URLs and names are case-sensitive.
public String getQueueUrl()
The URL of the Amazon SQS queue from which messages are deleted.
Queue URLs and names are case-sensitive.
Queue URLs and names are case-sensitive.
public DeleteMessageBatchRequest withQueueUrl(String queueUrl)
The URL of the Amazon SQS queue from which messages are deleted.
Queue URLs and names are case-sensitive.
queueUrl
- The URL of the Amazon SQS queue from which messages are deleted.
Queue URLs and names are case-sensitive.
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 Object
Object.toString()
public DeleteMessageBatchRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2019. All rights reserved.