Overview | Package | Class | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.amazonaws.services.sqs.model
Class GetQueueAttributesRequest

    java.lang.Object
      com.amazonaws.AmazonWebServiceRequest
          com.amazonaws.services.sqs.model.GetQueueAttributesRequest

    public class GetQueueAttributesRequest

extends AmazonWebServiceRequest

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.

See Also:
  `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

### GetQueueAttributesRequest

    public GetQueueAttributesRequest()

  Default constructor for a new GetQueueAttributesRequest object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.

### GetQueueAttributesRequest

    public GetQueueAttributesRequest(String queueUrl)

  Constructs a new GetQueueAttributesRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

  Parameters:
    `queueUrl` -

Method Detail

### getQueueUrl

    public String getQueueUrl()

  Returns:

### setQueueUrl

    public void setQueueUrl(String queueUrl)

  Parameters:
    `queueUrl` -

### withQueueUrl

    public GetQueueAttributesRequest withQueueUrl(String queueUrl)

  Returns a reference to this object so that method calls can be chained together.

  Parameters:
    `queueUrl` -
  Returns:
    A reference to this updated object so that method calls can be chained together.

### getAttributeNames

    public List<String> getAttributeNames()

  A list of attributes to get.

  Returns:
    A list of attributes to get.

### setAttributeNames

    public void setAttributeNames(Collection<String> attributeNames)

  A list of attributes to get.

  Parameters:
    `attributeNames` - A list of attributes to get.

### withAttributeNames

    public GetQueueAttributesRequest withAttributeNames(String... attributeNames)

  A list of attributes to get.

  Returns a reference to this object so that method calls can be chained together.

  Parameters:
    `attributeNames` - A list of attributes to get.
  Returns:
    A reference to this updated object so that method calls can be chained together.

### withAttributeNames

    public GetQueueAttributesRequest withAttributeNames(Collection<String> attributeNames)

  A list of attributes to get.

  Returns a reference to this object so that method calls can be chained together.

  Parameters:
    `attributeNames` - A list of attributes to get.
  Returns:
    A reference to this updated 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 class `Object`
  Returns:
    A string representation of this object.
  See Also:
    `Object.toString()`

Overview | Package | Class | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.