com.amazonaws.services.sqs.model
Class ListQueuesRequest

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

public class ListQueuesRequest
extends AmazonWebServiceRequest

Container for the parameters to the ListQueues operation.

Returns a list of your queues.

See Also:
AmazonSQS.listQueues(ListQueuesRequest)

Constructor Summary
ListQueuesRequest()
          Default constructor for a new ListQueuesRequest object.
ListQueuesRequest(String queueNamePrefix)
          Constructs a new ListQueuesRequest object.
 
Method Summary
 boolean equals(Object obj)
           
 String getQueueNamePrefix()
          A string to use for filtering the list results.
 int hashCode()
           
 void setQueueNamePrefix(String queueNamePrefix)
          A string to use for filtering the list results.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ListQueuesRequest withQueueNamePrefix(String queueNamePrefix)
          A string to use for filtering the list results.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ListQueuesRequest

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


ListQueuesRequest

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

Parameters:
queueNamePrefix - A string to use for filtering the list results. Only those queues whose name begins with the specified string are returned.
Method Detail

getQueueNamePrefix

public String getQueueNamePrefix()
A string to use for filtering the list results. Only those queues whose name begins with the specified string are returned.

Returns:
A string to use for filtering the list results. Only those queues whose name begins with the specified string are returned.

setQueueNamePrefix

public void setQueueNamePrefix(String queueNamePrefix)
A string to use for filtering the list results. Only those queues whose name begins with the specified string are returned.

Parameters:
queueNamePrefix - A string to use for filtering the list results. Only those queues whose name begins with the specified string are returned.

withQueueNamePrefix

public ListQueuesRequest withQueueNamePrefix(String queueNamePrefix)
A string to use for filtering the list results. Only those queues whose name begins with the specified string are returned.

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

Parameters:
queueNamePrefix - A string to use for filtering the list results. Only those queues whose name begins with the specified string are returned.
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()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


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