Package com.amazonaws.services.sqs.model
Class DeleteMessageRequest
java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.sqs.model.DeleteMessageRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class DeleteMessageRequest
extends AmazonWebServiceRequest
implements Serializable, Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for DeleteMessageRequest object.DeleteMessageRequest
(String queueUrl, String receiptHandle) Constructs a new DeleteMessageRequest object. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The URL of the Amazon SQS queue to take action on.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.toString()
Returns a string representation of this object; useful for testing and debugging.withQueueUrl
(String queueUrl) The URL of the Amazon SQS queue to take action on.withReceiptHandle
(String receiptHandle) The receipt handle associated with the message to delete.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
Constructor Details
-
DeleteMessageRequest
public DeleteMessageRequest()Default constructor for DeleteMessageRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it. -
DeleteMessageRequest
Constructs a new DeleteMessageRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
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.
-
-
Method Details
-
setQueueUrl
The URL of the Amazon SQS queue to take action on.
Queue URLs are case-sensitive.
- Parameters:
queueUrl
- The URL of the Amazon SQS queue to take action on.Queue URLs are case-sensitive.
-
getQueueUrl
The URL of the Amazon SQS queue to take action on.
Queue URLs are case-sensitive.
- Returns:
- The URL of the Amazon SQS queue to take action on.
Queue URLs are case-sensitive.
-
withQueueUrl
The URL of the Amazon SQS queue to take action on.
Queue URLs are case-sensitive.
- Parameters:
queueUrl
- The URL of the Amazon SQS queue to take action on.Queue URLs are case-sensitive.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setReceiptHandle
The receipt handle associated with the message to delete.
- Parameters:
receiptHandle
- The receipt handle associated with the message to delete.
-
getReceiptHandle
The receipt handle associated with the message to delete.
- Returns:
- The receipt handle associated with the message to delete.
-
withReceiptHandle
The receipt handle associated with the message to delete.
- Parameters:
receiptHandle
- The receipt handle associated with the message to delete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-