public class GetQueueUrlRequest extends AmazonWebServiceRequest implements java.io.Serializable
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 see Shared Queues in the Amazon SQS Developer Guide.
| Constructor and Description |
|---|
GetQueueUrlRequest()
Default constructor for GetQueueUrlRequest object.
|
GetQueueUrlRequest(java.lang.String queueName)
Constructs a new GetQueueUrlRequest object.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic 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.
Queue names are case-sensitive.
public java.lang.String getQueueName()
The name of the queue whose URL must be fetched. Maximum 80 characters; alphanumeric characters, hyphens (-), and underscores (_) are allowed.
Queue names are case-sensitive.
The name of the queue whose URL must be fetched. Maximum 80 characters; alphanumeric characters, hyphens (-), and underscores (_) are allowed.
Queue names are case-sensitive.
public void setQueueName(java.lang.String queueName)
The name of the queue whose URL must be fetched. Maximum 80 characters; alphanumeric characters, hyphens (-), and underscores (_) are allowed.
Queue names are case-sensitive.
queueName - The name of the queue whose URL must be fetched. Maximum 80 characters; alphanumeric characters, hyphens (-), and underscores (_) are allowed.
Queue names are case-sensitive.
public GetQueueUrlRequest withQueueName(java.lang.String queueName)
The name of the queue whose URL must be fetched. Maximum 80 characters; alphanumeric characters, hyphens (-), and underscores (_) are allowed.
Queue names are case-sensitive.
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.
Queue names are case-sensitive.
public java.lang.String getQueueOwnerAWSAccountId()
The AWS account ID of the account that created the queue.
The AWS account ID of the account that created the queue.
public void setQueueOwnerAWSAccountId(java.lang.String queueOwnerAWSAccountId)
The AWS account ID of the account that created the queue.
queueOwnerAWSAccountId - The AWS account ID of the account that created the queue.
public GetQueueUrlRequest withQueueOwnerAWSAccountId(java.lang.String queueOwnerAWSAccountId)
The AWS account ID of the account that created the queue.
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.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.