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 PurgeQueueRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetQueueUrl()The queue URL of the queue to delete the messages from when using thePurgeQueueAPI.inthashCode()voidsetQueueUrl(String queueUrl)The queue URL of the queue to delete the messages from when using thePurgeQueueAPI.StringtoString()Returns a string representation of this object; useful for testing and debugging.PurgeQueueRequestwithQueueUrl(String queueUrl)The queue URL of the queue to delete the messages from when using thePurgeQueueAPI.-
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 thePurgeQueueAPI.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
PurgeQueueAPI.Queue URLs are case-sensitive.
- Parameters:
queueUrl- The queue URL of the queue to delete the messages from when using thePurgeQueueAPI.Queue URLs are case-sensitive.
-
getQueueUrl
public String getQueueUrl()
The queue URL of the queue to delete the messages from when using the
PurgeQueueAPI.Queue URLs are case-sensitive.
- Returns:
- The queue URL of the queue to delete the messages from when using
the
PurgeQueueAPI.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
PurgeQueueAPI.Queue URLs are case-sensitive.
- Parameters:
queueUrl- The queue URL of the queue to delete the messages from when using thePurgeQueueAPI.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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public PurgeQueueRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-