public class DeleteMessageRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
queueUrl
The URL of the Amazon SQS queue to take action on.
|
private java.lang.String |
receiptHandle
The receipt handle associated with the message to delete.
|
NOOP
Constructor and Description |
---|
DeleteMessageRequest()
Default constructor for DeleteMessageRequest object.
|
DeleteMessageRequest(java.lang.String queueUrl,
java.lang.String receiptHandle)
Constructs a new DeleteMessageRequest object.
|
Modifier and Type | Method and Description |
---|---|
DeleteMessageRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getQueueUrl()
The URL of the Amazon SQS queue to take action on.
|
java.lang.String |
getReceiptHandle()
The receipt handle associated with the message to delete.
|
int |
hashCode() |
void |
setQueueUrl(java.lang.String queueUrl)
The URL of the Amazon SQS queue to take action on.
|
void |
setReceiptHandle(java.lang.String receiptHandle)
The receipt handle associated with the message to delete.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteMessageRequest |
withQueueUrl(java.lang.String queueUrl)
The URL of the Amazon SQS queue to take action on.
|
DeleteMessageRequest |
withReceiptHandle(java.lang.String receiptHandle)
The receipt handle associated with the message to delete.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String queueUrl
The URL of the Amazon SQS queue to take action on.
Queue URLs are case-sensitive.
private java.lang.String receiptHandle
The receipt handle associated with the message to delete.
public DeleteMessageRequest()
public DeleteMessageRequest(java.lang.String queueUrl, java.lang.String receiptHandle)
queueUrl
- The URL of the Amazon SQS queue to take action on.
Queue URLs are case-sensitive.
receiptHandle
- The receipt handle associated with the message to delete.public void setQueueUrl(java.lang.String queueUrl)
The URL of the Amazon SQS queue to take action on.
Queue URLs are case-sensitive.
queueUrl
- The URL of the Amazon SQS queue to take action on.
Queue URLs are case-sensitive.
public java.lang.String getQueueUrl()
The URL of the Amazon SQS queue to take action on.
Queue URLs are case-sensitive.
Queue URLs are case-sensitive.
public DeleteMessageRequest withQueueUrl(java.lang.String queueUrl)
The URL of the Amazon SQS queue to take action on.
Queue URLs are case-sensitive.
queueUrl
- The URL of the Amazon SQS queue to take action on.
Queue URLs are case-sensitive.
public void setReceiptHandle(java.lang.String receiptHandle)
The receipt handle associated with the message to delete.
receiptHandle
- The receipt handle associated with the message to delete.public java.lang.String getReceiptHandle()
The receipt handle associated with the message to delete.
public DeleteMessageRequest withReceiptHandle(java.lang.String receiptHandle)
The receipt handle associated with the message to delete.
receiptHandle
- The receipt handle associated with the message to delete.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DeleteMessageRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()