|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.sqs.model.GetQueueAttributesRequest
public class GetQueueAttributesRequest
Container for the parameters to the GetQueueAttributes operation.
Gets one or all attributes of a queue. Queues currently have two attributes you can get: ApproximateNumberOfMessages and VisibilityTimeout.
AmazonSQS.getQueueAttributes(GetQueueAttributesRequest)| Constructor Summary | |
|---|---|
GetQueueAttributesRequest()
Default constructor for a new GetQueueAttributesRequest object. |
|
GetQueueAttributesRequest(String queueUrl)
Constructs a new GetQueueAttributesRequest object. |
|
| Method Summary | |
|---|---|
List<String> |
getAttributeNames()
A list of attributes to get. |
String |
getQueueUrl()
|
void |
setAttributeNames(Collection<String> attributeNames)
A list of attributes to get. |
void |
setQueueUrl(String queueUrl)
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
GetQueueAttributesRequest |
withAttributeNames(Collection<String> attributeNames)
A list of attributes to get. |
GetQueueAttributesRequest |
withAttributeNames(String... attributeNames)
A list of attributes to get. |
GetQueueAttributesRequest |
withQueueUrl(String queueUrl)
Returns a reference to this object so that method calls can be chained together. |
| Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
|---|
copyPrivateRequestParameters |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GetQueueAttributesRequest()
public GetQueueAttributesRequest(String queueUrl)
queueUrl - | Method Detail |
|---|
public String getQueueUrl()
public void setQueueUrl(String queueUrl)
queueUrl - public GetQueueAttributesRequest withQueueUrl(String queueUrl)
Returns a reference to this object so that method calls can be chained together.
queueUrl -
public List<String> getAttributeNames()
public void setAttributeNames(Collection<String> attributeNames)
attributeNames - A list of attributes to get.public GetQueueAttributesRequest withAttributeNames(String... attributeNames)
Returns a reference to this object so that method calls can be chained together.
attributeNames - A list of attributes to get.
public GetQueueAttributesRequest withAttributeNames(Collection<String> attributeNames)
Returns a reference to this object so that method calls can be chained together.
attributeNames - A list of attributes to get.
public String toString()
toString in class ObjectObject.toString()
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||