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() |
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.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public 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.
QueueAttributeName
public void setAttributeNames(Collection<String> attributeNames)
A list of attributes to retrieve information for.
attributeNames
- A list of attributes to retrieve information for.QueueAttributeName
public 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.QueueAttributeName
public GetQueueAttributesRequest withAttributeNames(Collection<String> attributeNames)
A list of attributes to retrieve information for.
attributeNames
- A list of attributes to retrieve information for.QueueAttributeName
public GetQueueAttributesRequest withAttributeNames(QueueAttributeName... attributeNames)
A list of attributes to retrieve information for.
attributeNames
- A list of attributes to retrieve information for.QueueAttributeName
public String toString()
toString
in class Object
Object.toString()
public GetQueueAttributesRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2016. All rights reserved.