Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.sqs.model
Class GetQueueUrlRequest

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

public class GetQueueUrlRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the GetQueueUrl operation.

See Also:
AmazonSQS.getQueueUrl(GetQueueUrlRequest), Serialized Form

Constructor Summary
GetQueueUrlRequest()
          Default constructor for a new GetQueueUrlRequest object.
GetQueueUrlRequest(String queueName)
          Constructs a new GetQueueUrlRequest object.
 
Method Summary
 boolean equals(Object obj)
           
 String getQueueName()
          Returns the value of the QueueName property for this object.
 String getQueueOwnerAWSAccountId()
          Returns the value of the QueueOwnerAWSAccountId property for this object.
 int hashCode()
           
 void setQueueName(String queueName)
          Sets the value of the QueueName property for this object.
 void setQueueOwnerAWSAccountId(String queueOwnerAWSAccountId)
          Sets the value of the QueueOwnerAWSAccountId property for this object.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 GetQueueUrlRequest withQueueName(String queueName)
          Sets the value of the QueueName property for this object.
 GetQueueUrlRequest withQueueOwnerAWSAccountId(String queueOwnerAWSAccountId)
          Sets the value of the QueueOwnerAWSAccountId 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

GetQueueUrlRequest

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


GetQueueUrlRequest

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

Parameters:
queueName -
Method Detail

getQueueName

public String getQueueName()
Returns the value of the QueueName property for this object.

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

setQueueName

public void setQueueName(String queueName)
Sets the value of the QueueName property for this object.

Parameters:
queueName - The new value for the QueueName property for this object.

withQueueName

public GetQueueUrlRequest withQueueName(String queueName)
Sets the value of the QueueName property for this object.

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

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

getQueueOwnerAWSAccountId

public String getQueueOwnerAWSAccountId()
Returns the value of the QueueOwnerAWSAccountId property for this object.

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

setQueueOwnerAWSAccountId

public void setQueueOwnerAWSAccountId(String queueOwnerAWSAccountId)
Sets the value of the QueueOwnerAWSAccountId property for this object.

Parameters:
queueOwnerAWSAccountId - The new value for the QueueOwnerAWSAccountId property for this object.

withQueueOwnerAWSAccountId

public GetQueueUrlRequest withQueueOwnerAWSAccountId(String queueOwnerAWSAccountId)
Sets the value of the QueueOwnerAWSAccountId property for this object.

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

Parameters:
queueOwnerAWSAccountId - The new value for the QueueOwnerAWSAccountId 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.