Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.sqs.model
Class SetQueueAttributesRequest

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

public class SetQueueAttributesRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the SetQueueAttributes operation.

See Also:
AmazonSQS.setQueueAttributes(SetQueueAttributesRequest), Serialized Form

Constructor Summary
SetQueueAttributesRequest()
          Default constructor for a new SetQueueAttributesRequest object.
SetQueueAttributesRequest(String queueUrl, Map<String,String> attributes)
          Constructs a new SetQueueAttributesRequest object.
 
Method Summary
 boolean equals(Object obj)
           
 Map<String,String> getAttributes()
          Returns the value of the Attributes property for this object.
 String getQueueUrl()
          Returns the value of the QueueUrl property for this object.
 int hashCode()
           
 void setAttributes(Map<String,String> attributes)
          Sets the value of the Attributes property for this object.
 void setQueueUrl(String queueUrl)
          Sets the value of the QueueUrl property for this object.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 SetQueueAttributesRequest withAttributes(Map<String,String> attributes)
          Sets the value of the Attributes property for this object.
 SetQueueAttributesRequest withQueueUrl(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

SetQueueAttributesRequest

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


SetQueueAttributesRequest

public SetQueueAttributesRequest(String queueUrl,
                                 Map<String,String> attributes)
Constructs a new SetQueueAttributesRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
queueUrl -
attributes -
Method Detail

getQueueUrl

public 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(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 SetQueueAttributesRequest withQueueUrl(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.

getAttributes

public Map<String,String> getAttributes()
Returns the value of the Attributes property for this object.

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

setAttributes

public void setAttributes(Map<String,String> attributes)
Sets the value of the Attributes property for this object.

Parameters:
attributes - The new value for the Attributes property for this object.

withAttributes

public SetQueueAttributesRequest withAttributes(Map<String,String> attributes)
Sets the value of the Attributes property for this object.

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

Parameters:
attributes - The new value for the Attributes property for this object.
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.