@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getQueueUrl()
The URL of the Amazon SQS queue from which messages are deleted.
|
String |
getReceiptHandle()
The receipt handle associated with the message to delete.
|
int |
hashCode() |
void |
setQueueUrl(String queueUrl)
The URL of the Amazon SQS queue from which messages are deleted.
|
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 from which messages are deleted.
|
DeleteMessageRequest |
withReceiptHandle(String receiptHandle)
The receipt handle associated with the message to delete.
|
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 DeleteMessageRequest()
public DeleteMessageRequest(String queueUrl, String receiptHandle)
queueUrl
- The URL of the Amazon SQS queue from which messages are deleted.
Queue URLs are case-sensitive.
receiptHandle
- The receipt handle associated with the message to delete.public void setQueueUrl(String queueUrl)
The URL of the Amazon SQS queue from which messages are deleted.
Queue URLs are case-sensitive.
queueUrl
- The URL of the Amazon SQS queue from which messages are deleted.
Queue URLs are case-sensitive.
public String getQueueUrl()
The URL of the Amazon SQS queue from which messages are deleted.
Queue URLs are case-sensitive.
Queue URLs are case-sensitive.
public DeleteMessageRequest withQueueUrl(String queueUrl)
The URL of the Amazon SQS queue from which messages are deleted.
Queue URLs are case-sensitive.
queueUrl
- The URL of the Amazon SQS queue from which messages are deleted.
Queue URLs are case-sensitive.
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()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.