public class DeleteQueueRequest extends AmazonWebServiceRequest implements Serializable
DeleteQueue operation.
This action unconditionally deletes the queue specified by the queue URL. Use this operation WITH CARE! The queue is deleted even if it is NOT empty.
Once a queue has been deleted, the queue name is unavailable for use with new queues for 60 seconds.
| Constructor and Description |
|---|
DeleteQueueRequest()
Default constructor for a new DeleteQueueRequest object.
|
DeleteQueueRequest(String queueUrl)
Constructs a new DeleteQueueRequest object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getQueueUrl()
The URL of the SQS queue to take action on.
|
int |
hashCode() |
void |
setQueueUrl(String queueUrl)
The URL of the SQS queue to take action on.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteQueueRequest |
withQueueUrl(String queueUrl)
The URL of the SQS queue to take action on.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollectorpublic DeleteQueueRequest()
public DeleteQueueRequest(String queueUrl)
queueUrl - The URL of the SQS queue to take action on.public String getQueueUrl()
public void setQueueUrl(String queueUrl)
queueUrl - The URL of the SQS queue to take action on.public DeleteQueueRequest withQueueUrl(String queueUrl)
Returns a reference to this object so that method calls can be chained together.
queueUrl - The URL of the SQS queue to take action on.public String toString()
toString in class ObjectObject.toString()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.