Package com.amazonaws.services.sqs.model
Class PurgeQueueRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.sqs.model.PurgeQueueRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class PurgeQueueRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description PurgeQueueRequest()
Default constructor for PurgeQueueRequest object.PurgeQueueRequest(String queueUrl)
Constructs a new PurgeQueueRequest object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PurgeQueueRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getQueueUrl()
The queue URL of the queue to delete the messages from when using thePurgeQueue
API.int
hashCode()
void
setQueueUrl(String queueUrl)
The queue URL of the queue to delete the messages from when using thePurgeQueue
API.String
toString()
Returns a string representation of this object; useful for testing and debugging.PurgeQueueRequest
withQueueUrl(String queueUrl)
The queue URL of the queue to delete the messages from when using thePurgeQueue
API.-
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 Detail
-
PurgeQueueRequest
public PurgeQueueRequest()
Default constructor for PurgeQueueRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it.
-
PurgeQueueRequest
public PurgeQueueRequest(String queueUrl)
Constructs a new PurgeQueueRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
queueUrl
- The queue URL of the queue to delete the messages from when using thePurgeQueue
API.Queue URLs are case-sensitive.
-
-
Method Detail
-
setQueueUrl
public void setQueueUrl(String queueUrl)
The queue URL of the queue to delete the messages from when using the
PurgeQueue
API.Queue URLs are case-sensitive.
- Parameters:
queueUrl
- The queue URL of the queue to delete the messages from when using thePurgeQueue
API.Queue URLs are case-sensitive.
-
getQueueUrl
public String getQueueUrl()
The queue URL of the queue to delete the messages from when using the
PurgeQueue
API.Queue URLs are case-sensitive.
- Returns:
- The queue URL of the queue to delete the messages from when using
the
PurgeQueue
API.Queue URLs are case-sensitive.
-
withQueueUrl
public PurgeQueueRequest withQueueUrl(String queueUrl)
The queue URL of the queue to delete the messages from when using the
PurgeQueue
API.Queue URLs are case-sensitive.
- Parameters:
queueUrl
- The queue URL of the queue to delete the messages from when using thePurgeQueue
API.Queue URLs are case-sensitive.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public PurgeQueueRequest 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:
Object.clone()
-
-