Class GetQueueUrlRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.sqs.model.GetQueueUrlRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class GetQueueUrlRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description GetQueueUrlRequest()
Default constructor for GetQueueUrlRequest object.GetQueueUrlRequest(String queueName)
Constructs a new GetQueueUrlRequest object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetQueueUrlRequest
clone()
Creates a shallow clone of this request.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.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Constructor Detail
-
GetQueueUrlRequest
public GetQueueUrlRequest()
Default constructor for GetQueueUrlRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the 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. Maximum 80 characters; alphanumeric characters, hyphens (-), and underscores (_) are allowed.Queue names are case-sensitive.
-
-
Method Detail
-
setQueueName
public void setQueueName(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.
- Parameters:
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.
-
getQueueName
public 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.
- Returns:
- 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.
-
withQueueName
public GetQueueUrlRequest withQueueName(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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
setQueueOwnerAWSAccountId
public void setQueueOwnerAWSAccountId(String queueOwnerAWSAccountId)
The AWS account ID of the account that created the queue.
- Parameters:
queueOwnerAWSAccountId
- The AWS account ID of the account that created the queue.
-
getQueueOwnerAWSAccountId
public String getQueueOwnerAWSAccountId()
The AWS account ID of the account that created the queue.
- Returns:
- The AWS account ID of the account that created the queue.
-
withQueueOwnerAWSAccountId
public GetQueueUrlRequest withQueueOwnerAWSAccountId(String queueOwnerAWSAccountId)
The AWS account ID of the account that created the queue.
- Parameters:
queueOwnerAWSAccountId
- The AWS account ID of the account that created the queue.- Returns:
- Returns a reference to this 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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public GetQueueUrlRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-