public class GetQueueUrlRequest extends AmazonWebServiceRequest implements Serializable
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 .
NOOP
Constructor and Description |
---|
GetQueueUrlRequest()
Default constructor for a new GetQueueUrlRequest object.
|
GetQueueUrlRequest(String queueName)
Constructs a new GetQueueUrlRequest object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getQueueName()
The name of the queue whose URL must be fetched.
|
String |
getQueueOwnerAWSAccountId()
The AWS account ID of the account that created the queue.
|
int |
hashCode() |
void |
setQueueName(String queueName)
The name of the queue whose URL must be fetched.
|
void |
setQueueOwnerAWSAccountId(String queueOwnerAWSAccountId)
The AWS account ID of the account that created the queue.
|
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 ID of the account that created the queue.
|
copyBaseTo, copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public GetQueueUrlRequest()
public GetQueueUrlRequest(String queueName)
queueName
- The name of the queue whose URL must be fetched.
Maximum 80 characters; alphanumeric characters, hyphens (-), and
underscores (_) are allowed.public String getQueueName()
public void setQueueName(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(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 String getQueueOwnerAWSAccountId()
public void setQueueOwnerAWSAccountId(String queueOwnerAWSAccountId)
queueOwnerAWSAccountId
- The AWS account ID of the account that created the queue.public GetQueueUrlRequest withQueueOwnerAWSAccountId(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 String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.