com.amazonaws.services.cloudwatch.model
Class ListMetricsRequest

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

public class ListMetricsRequest
extends AmazonWebServiceRequest

List Metrics Request


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()
           
 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()
Overrides:
toString in class Object


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