public class DeleteMessageRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DeleteMessageRequest()
Default constructor for DeleteMessageRequest object.
|
DeleteMessageRequest(String queueUrl,
String receiptHandle)
Constructs a new DeleteMessageRequest object.
|
Modifier and Type | Method and Description |
---|---|
DeleteMessageRequest |
clone() |
boolean |
equals(Object obj) |
String |
getQueueUrl()
The URL of the Amazon SQS queue to take action on.
|
String |
getReceiptHandle()
The receipt handle associated with the message to delete.
|
int |
hashCode() |
void |
setQueueUrl(String queueUrl)
The URL of the Amazon SQS queue to take action on.
|
void |
setReceiptHandle(String receiptHandle)
The receipt handle associated with the message to delete.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteMessageRequest |
withQueueUrl(String queueUrl)
The URL of the Amazon SQS queue to take action on.
|
DeleteMessageRequest |
withReceiptHandle(String receiptHandle)
The receipt handle associated with the message to delete.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public DeleteMessageRequest()
public DeleteMessageRequest(String queueUrl, String receiptHandle)
queueUrl
- The URL of the Amazon SQS queue to take action on.receiptHandle
- The receipt handle associated with the message to delete.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 DeleteMessageRequest 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 void setReceiptHandle(String receiptHandle)
The receipt handle associated with the message to delete.
receiptHandle
- The receipt handle associated with the message to delete.public String getReceiptHandle()
The receipt handle associated with the message to delete.
public DeleteMessageRequest withReceiptHandle(String receiptHandle)
The receipt handle associated with the message to delete.
receiptHandle
- The receipt handle associated with the message to delete.public String toString()
toString
in class Object
Object.toString()
public DeleteMessageRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2016. All rights reserved.