|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.sqs.model.GetQueueUrlRequest
public class GetQueueUrlRequest
Container for the parameters to the GetQueueUrl operation
.
Returns the URL of an existing queue. This action provides a simple way to retrieve the URL of an Amazon SQS queue.
To access a queue that belongs to another AWS account, use the
QueueOwnerAWSAccountId
parameter to specify the account
ID of the queue's owner. The queue's owner must grant you permission
to access the queue. For more information about shared queue access,
see AddPermission or go to
Shared Queues
in the Amazon SQS Developer Guide .
AmazonSQS.getQueueUrl(GetQueueUrlRequest)
,
Serialized FormConstructor Summary | |
---|---|
GetQueueUrlRequest()
Default constructor for a new GetQueueUrlRequest object. |
|
GetQueueUrlRequest(java.lang.String queueName)
Constructs a new GetQueueUrlRequest object. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getQueueName()
The name of the queue whose URL must be fetched. |
java.lang.String |
getQueueOwnerAWSAccountId()
The AWS account ID of the account that created the queue. |
int |
hashCode()
|
void |
setQueueName(java.lang.String queueName)
The name of the queue whose URL must be fetched. |
void |
setQueueOwnerAWSAccountId(java.lang.String queueOwnerAWSAccountId)
The AWS account ID of the account that created the queue. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
GetQueueUrlRequest |
withQueueName(java.lang.String queueName)
The name of the queue whose URL must be fetched. |
GetQueueUrlRequest |
withQueueOwnerAWSAccountId(java.lang.String queueOwnerAWSAccountId)
The AWS account ID of the account that created the queue. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GetQueueUrlRequest()
public GetQueueUrlRequest(java.lang.String queueName)
queueName
- The name of the queue whose URL must be fetched.
Maximum 80 characters; alphanumeric characters, hyphens (-), and
underscores (_) are allowed.Method Detail |
---|
public java.lang.String getQueueName()
public void setQueueName(java.lang.String queueName)
queueName
- The name of the queue whose URL must be fetched. Maximum 80
characters; alphanumeric characters, hyphens (-), and underscores (_)
are allowed.public GetQueueUrlRequest withQueueName(java.lang.String queueName)
Returns a reference to this object so that method calls can be chained together.
queueName
- The name of the queue whose URL must be fetched. Maximum 80
characters; alphanumeric characters, hyphens (-), and underscores (_)
are allowed.
public java.lang.String getQueueOwnerAWSAccountId()
public void setQueueOwnerAWSAccountId(java.lang.String queueOwnerAWSAccountId)
queueOwnerAWSAccountId
- The AWS account ID of the account that created the queue.public GetQueueUrlRequest withQueueOwnerAWSAccountId(java.lang.String queueOwnerAWSAccountId)
Returns a reference to this object so that method calls can be chained together.
queueOwnerAWSAccountId
- The AWS account ID of the account that created the queue.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |