Packagecom.amazonaws.services.cloudwatch.model
Classpublic class ListMetricsResult
InheritanceListMetricsResult Inheritance AmazonWebServiceResult Inheritance Object

Language Version : ActionScript 3.0
Product Version : Flex 4
Since : July 12. 2011
Runtime Versions : Flash Player 10.1, AIR 2.5

Container for the 'ListMetrics operation' response parameters.



Public Properties
 PropertyDefined By
 InheritedrawData : Object
Gets received raw data (XML format).
AmazonWebServiceResult
Public Methods
 MethodDefined By
  
Default C'tor.
ListMetricsResult
  
getMetrics():Array
A list of metrics used to generate statistics for an AWS account.
ListMetricsResult
  
getNextToken():String
A string that marks the start of the next batch of returned results.
ListMetricsResult
 Inherited
getRequestId():String
The AWS request ID that uniquely identifies the service request the caller made.
AmazonWebServiceResult
  
parse(data:Object = null):ResponseResult
[override] Returns parsed XML data from AWS response.
ListMetricsResult
  
setMetrics(metrics:Array):void
A list of metrics used to generate statistics for an AWS account.
ListMetricsResult
  
setNextToken(nextToken:String):void
A string that marks the start of the next batch of returned results.
ListMetricsResult
 Inherited
setRequestId(requestId:String):void
The AWS request ID that uniquely identifies the service request the caller made.
AmazonWebServiceResult
  
toString():String
[override] Returns a string representation of this object; useful for testing and debugging.
ListMetricsResult
  
A list of metrics used to generate statistics for an AWS account.
ListMetricsResult
  
A string that marks the start of the next batch of returned results.
ListMetricsResult
 Inherited
withRawData(rawData:Object):ResponseResult
Sets new raw data.
AmazonWebServiceResult
 Inherited
withRequestId(requestId:String):ResponseResult
The AWS request ID that uniquely identifies the service request the caller made.
AmazonWebServiceResult
Constructor Detail
ListMetricsResult()Constructor
public function ListMetricsResult()

Default C'tor.

Method Detail
getMetrics()method
public function getMetrics():Array

A list of metrics used to generate statistics for an AWS account.

Returns
Array — A list of metrics used to generate statistics for an AWS account.
getNextToken()method 
public function getNextToken():String

A string that marks the start of the next batch of returned results.

Returns
String — A string that marks the start of the next batch of returned results.
parse()method 
override public function parse(data:Object = null):ResponseResult

Returns parsed XML data from AWS response.

Parameters

data:Object (default = null) — raw data to be parsed

Returns
ResponseResult — A reference to this updated object so that method calls can be chained together.
setMetrics()method 
public function setMetrics(metrics:Array):void

A list of metrics used to generate statistics for an AWS account.

Parameters

metrics:Array — A list of metrics used to generate statistics for an AWS account.

setNextToken()method 
public function setNextToken(nextToken:String):void

A string that marks the start of the next batch of returned results.

Parameters

nextToken:String — A string that marks the start of the next batch of returned results.

toString()method 
override public function toString():String

Returns a string representation of this object; useful for testing and debugging.

Returns
String — A string representation of this object.
withMetrics()method 
public function withMetrics(metrics:Array):ListMetricsResult

A list of metrics used to generate statistics for an AWS account. Returns a reference to this object so that method calls can be chained together.

Parameters

metrics:Array — A list of metrics used to generate statistics for an AWS account.

Returns
ListMetricsResult — A reference to this updated object so that method calls can be chained together.
withNextToken()method 
public function withNextToken(nextToken:String):ListMetricsResult

A string that marks the start of the next batch of returned results. Returns a reference to this object so that method calls can be chained together.

Parameters

nextToken:String — A string that marks the start of the next batch of returned results.

Returns
ListMetricsResult — A reference to this updated object so that method calls can be chained together.