Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.sqs.model
Class GetQueueAttributesRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.sqs.model.GetQueueAttributesRequest
All Implemented Interfaces:
java.io.Serializable

public class GetQueueAttributesRequest
extends AmazonWebServiceRequest
implements java.io.Serializable

Container for the parameters to the GetQueueAttributes operation.

See Also:
AmazonSQS.getQueueAttributes(GetQueueAttributesRequest), Serialized Form

Constructor Summary
GetQueueAttributesRequest()
          Default constructor for a new GetQueueAttributesRequest object.
GetQueueAttributesRequest(java.lang.String queueUrl)
          Constructs a new GetQueueAttributesRequest object.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.util.List<java.lang.String> getAttributeNames()
          Returns the value of the AttributeNames property for this object.
 java.lang.String getQueueUrl()
          Returns the value of the QueueUrl property for this object.
 int hashCode()
           
 void setAttributeNames(java.util.Collection<java.lang.String> attributeNames)
          Sets the value of the AttributeNames property for this object.
 void setQueueUrl(java.lang.String queueUrl)
          Sets the value of the QueueUrl property for this object.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 GetQueueAttributesRequest withAttributeNames(java.util.Collection<java.lang.String> attributeNames)
          Sets the value of the AttributeNames property for this object.
 GetQueueAttributesRequest withAttributeNames(java.lang.String... attributeNames)
          Sets the value of the AttributeNames property for this object.
 GetQueueAttributesRequest withQueueUrl(java.lang.String queueUrl)
          Sets the value of the QueueUrl property for this object.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GetQueueAttributesRequest

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


GetQueueAttributesRequest

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

Parameters:
queueUrl -
Method Detail

getQueueUrl

public java.lang.String getQueueUrl()
Returns the value of the QueueUrl property for this object.

Returns:
The value of the QueueUrl property for this object.

setQueueUrl

public void setQueueUrl(java.lang.String queueUrl)
Sets the value of the QueueUrl property for this object.

Parameters:
queueUrl - The new value for the QueueUrl property for this object.

withQueueUrl

public GetQueueAttributesRequest withQueueUrl(java.lang.String queueUrl)
Sets the value of the QueueUrl property for this object.

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

Parameters:
queueUrl - The new value for the QueueUrl property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getAttributeNames

public java.util.List<java.lang.String> getAttributeNames()
Returns the value of the AttributeNames property for this object.

Returns:
The value of the AttributeNames property for this object.

setAttributeNames

public void setAttributeNames(java.util.Collection<java.lang.String> attributeNames)
Sets the value of the AttributeNames property for this object.

Parameters:
attributeNames - The new value for the AttributeNames property for this object.

withAttributeNames

public GetQueueAttributesRequest withAttributeNames(java.lang.String... attributeNames)
Sets the value of the AttributeNames property for this object.

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

Parameters:
attributeNames - The new value for the AttributeNames property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

withAttributeNames

public GetQueueAttributesRequest withAttributeNames(java.util.Collection<java.lang.String> attributeNames)
Sets the value of the AttributeNames property for this object.

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

Parameters:
attributeNames - The new value for the AttributeNames property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


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