@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()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<DeleteMessageBatchRequestEntry> |
getEntries()
Lists the 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)
Lists the 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)
Lists the receipt handles for the messages to be deleted.
|
DeleteMessageBatchRequest |
withEntries(DeleteMessageBatchRequestEntry... entries)
Lists the 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, 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
- Lists the 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()
Lists the receipt handles for the messages to be deleted.
public void setEntries(Collection<DeleteMessageBatchRequestEntry> entries)
Lists the receipt handles for the messages to be deleted.
entries
- Lists the receipt handles for the messages to be deleted.public DeleteMessageBatchRequest withEntries(DeleteMessageBatchRequestEntry... entries)
Lists the 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
- Lists the receipt handles for the messages to be deleted.public DeleteMessageBatchRequest withEntries(Collection<DeleteMessageBatchRequestEntry> entries)
Lists the receipt handles for the messages to be deleted.
entries
- Lists the receipt handles for the messages to be deleted.public String toString()
toString
in class Object
Object.toString()
public DeleteMessageBatchRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()