public class GetQueueAttributesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
GetQueueAttributesRequest()
Default constructor for GetQueueAttributesRequest object.
|
GetQueueAttributesRequest(String queueUrl)
Constructs a new GetQueueAttributesRequest object.
|
GetQueueAttributesRequest(String queueUrl,
List<String> attributeNames)
Constructs a new GetQueueAttributesRequest object.
|
| Modifier and Type | Method and Description |
|---|---|
GetQueueAttributesRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
List<String> |
getAttributeNames()
A list of attributes to retrieve information for.
|
String |
getQueueUrl()
The URL of the Amazon SQS queue to take action on.
|
int |
hashCode() |
void |
setAttributeNames(Collection<String> attributeNames)
A list of attributes to retrieve information for.
|
void |
setQueueUrl(String queueUrl)
The URL of the Amazon SQS queue to take action on.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetQueueAttributesRequest |
withAttributeNames(Collection<String> attributeNames)
A list of attributes to retrieve information for.
|
GetQueueAttributesRequest |
withAttributeNames(QueueAttributeName... attributeNames)
A list of attributes to retrieve information for.
|
GetQueueAttributesRequest |
withAttributeNames(String... attributeNames)
A list of attributes to retrieve information for.
|
GetQueueAttributesRequest |
withQueueUrl(String queueUrl)
The URL of the Amazon SQS queue to take action on.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic GetQueueAttributesRequest()
public GetQueueAttributesRequest(String queueUrl)
queueUrl - The URL of the Amazon SQS queue to take action on.public GetQueueAttributesRequest(String queueUrl, List<String> attributeNames)
queueUrl - The URL of the Amazon SQS queue to take action on.attributeNames - A list of attributes to retrieve information for.public void setQueueUrl(String queueUrl)
The URL of the Amazon SQS queue to take action on.
queueUrl - The URL of the Amazon SQS queue to take action on.public String getQueueUrl()
The URL of the Amazon SQS queue to take action on.
public GetQueueAttributesRequest withQueueUrl(String queueUrl)
The URL of the Amazon SQS queue to take action on.
queueUrl - The URL of the Amazon SQS queue to take action on.public List<String> getAttributeNames()
A list of attributes to retrieve information for.
QueueAttributeNamepublic void setAttributeNames(Collection<String> attributeNames)
A list of attributes to retrieve information for.
attributeNames - A list of attributes to retrieve information for.QueueAttributeNamepublic GetQueueAttributesRequest withAttributeNames(String... attributeNames)
A list of attributes to retrieve information for.
NOTE: This method appends the values to the existing list (if
any). Use setAttributeNames(java.util.Collection) or
withAttributeNames(java.util.Collection) if you want to override
the existing values.
attributeNames - A list of attributes to retrieve information for.QueueAttributeNamepublic GetQueueAttributesRequest withAttributeNames(Collection<String> attributeNames)
A list of attributes to retrieve information for.
attributeNames - A list of attributes to retrieve information for.QueueAttributeNamepublic GetQueueAttributesRequest withAttributeNames(QueueAttributeName... attributeNames)
A list of attributes to retrieve information for.
attributeNames - A list of attributes to retrieve information for.QueueAttributeNamepublic String toString()
toString in class ObjectObject.toString()public GetQueueAttributesRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.