com.amazonaws.services.sqs.model
Class GetQueueUrlRequest

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

public class GetQueueUrlRequest
extends AmazonWebServiceRequest

Container for the parameters to the GetQueueUrl operation.

The GetQueueUrl action returns the URL of an existing queue.

See Also:
AmazonSQS.getQueueUrl(GetQueueUrlRequest)

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()
          The name of the queue whose URL must be fetched.
 String getQueueOwnerAWSAccountId()
          The AWS account number of the queue's owner.
 int hashCode()
           
 void setQueueName(String queueName)
          The name of the queue whose URL must be fetched.
 void setQueueOwnerAWSAccountId(String queueOwnerAWSAccountId)
          The AWS account number of the queue's owner.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 GetQueueUrlRequest withQueueName(String queueName)
          The name of the queue whose URL must be fetched.
 GetQueueUrlRequest withQueueOwnerAWSAccountId(String queueOwnerAWSAccountId)
          The AWS account number of the queue's owner.
 
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

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 - The name of the queue whose URL must be fetched.
Method Detail

getQueueName

public String getQueueName()
The name of the queue whose URL must be fetched.

Returns:
The name of the queue whose URL must be fetched.

setQueueName

public void setQueueName(String queueName)
The name of the queue whose URL must be fetched.

Parameters:
queueName - The name of the queue whose URL must be fetched.

withQueueName

public GetQueueUrlRequest withQueueName(String queueName)
The name of the queue whose URL must be fetched.

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

Parameters:
queueName - The name of the queue whose URL must be fetched.
Returns:
A reference to this updated object so that method calls can be chained together.

getQueueOwnerAWSAccountId

public String getQueueOwnerAWSAccountId()
The AWS account number of the queue's owner.

Returns:
The AWS account number of the queue's owner.

setQueueOwnerAWSAccountId

public void setQueueOwnerAWSAccountId(String queueOwnerAWSAccountId)
The AWS account number of the queue's owner.

Parameters:
queueOwnerAWSAccountId - The AWS account number of the queue's owner.

withQueueOwnerAWSAccountId

public GetQueueUrlRequest withQueueOwnerAWSAccountId(String queueOwnerAWSAccountId)
The AWS account number of the queue's owner.

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

Parameters:
queueOwnerAWSAccountId - The AWS account number of the queue's owner.
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.