com.amazonaws.services.sqs.model
Class DeleteQueueRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.sqs.model.DeleteQueueRequest

public class DeleteQueueRequest
extends AmazonWebServiceRequest

Container for the parameters to the 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.

See Also:
AmazonSQS.deleteQueue(DeleteQueueRequest)

Constructor Summary
DeleteQueueRequest()
          Default constructor for a new DeleteQueueRequest object.
DeleteQueueRequest(String queueUrl)
          Constructs a new DeleteQueueRequest object.
 
Method Summary
 String getQueueUrl()
           
 void setQueueUrl(String queueUrl)
           
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DeleteQueueRequest withQueueUrl(String queueUrl)
           Returns a reference to this object so that method calls can be chained together.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getDelegationToken, setDelegationToken
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeleteQueueRequest

public DeleteQueueRequest()
Default constructor for a new DeleteQueueRequest object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.


DeleteQueueRequest

public DeleteQueueRequest(String queueUrl)
Constructs a new DeleteQueueRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
queueUrl -
Method Detail

getQueueUrl

public String getQueueUrl()
Returns:

setQueueUrl

public void setQueueUrl(String queueUrl)
Parameters:
queueUrl -

withQueueUrl

public DeleteQueueRequest withQueueUrl(String queueUrl)

Returns a reference to this object so that method calls can be chained together.

Parameters:
queueUrl -
Returns:
A reference to this updated 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 class Object
Returns:
A string representation of this object.
See Also:
Object.toString()


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.