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

## com.amazonaws.services.cloudwatch.model
Class ListMetricsRequest

    java.lang.Object
      com.amazonaws.AmazonWebServiceRequest
          com.amazonaws.services.cloudwatch.model.ListMetricsRequest

    public class ListMetricsRequest

extends AmazonWebServiceRequest

Container for the parameters to the `ListMetrics operation`.

See Also:
  `AmazonCloudWatch.listMetrics(ListMetricsRequest)`

Constructor Summary
`ListMetricsRequest()`

Method Summary
`String` | `getNextToken()` Returns the value of the NextToken property for this object.
`void` | `setNextToken(String nextToken)` Sets the value of the NextToken property for this object.
`String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
`ListMetricsRequest` | `withNextToken(String nextToken)` Sets the value of the NextToken property for this object.

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

### ListMetricsRequest

    public ListMetricsRequest()

Method Detail

### getNextToken

    public String getNextToken()

  Returns the value of the NextToken property for this object.

  Returns:
    The value of the NextToken property for this object.

### setNextToken

    public void setNextToken(String nextToken)

  Sets the value of the NextToken property for this object.

  Parameters:
    `nextToken` - The new value for the NextToken property for this object.

### withNextToken

    public ListMetricsRequest withNextToken(String nextToken)

  Sets the value of the NextToken property for this object.

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

  Parameters:
    `nextToken` - The new value for the NextToken property for this object.
  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.