Packagecom.amazonaws.services.cloudwatch.model
Classpublic class GetMetricStatisticsResult
InheritanceGetMetricStatisticsResult 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 'GetMetricStatistics operation' response parameters.



Public Properties
 PropertyDefined By
 InheritedrawData : Object
Gets received raw data (XML format).
AmazonWebServiceResult
Public Methods
 MethodDefined By
  
GetMetricStatisticsResult
  
The datapoints for the specified metric.
GetMetricStatisticsResult
  
getLabel():String
A label describing the specified metric.
GetMetricStatisticsResult
 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.
GetMetricStatisticsResult
  
setDatapoints(datapoints:Array):void
The datapoints for the specified metric.
GetMetricStatisticsResult
  
setLabel(label:String):void
A label describing the specified metric.
GetMetricStatisticsResult
 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.
GetMetricStatisticsResult
  
The datapoints for the specified metric.
GetMetricStatisticsResult
  
A label describing the specified metric.
GetMetricStatisticsResult
 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
GetMetricStatisticsResult()Constructor
public function GetMetricStatisticsResult()



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

The datapoints for the specified metric.

Returns
Array — The datapoints for the specified metric.

See also

getLabel()method 
public function getLabel():String

A label describing the specified metric.

Returns
String — A label describing the specified metric.
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.

Throws
SyntaxError — if AWS namespace not available in XML response
setDatapoints()method 
public function setDatapoints(datapoints:Array):void

The datapoints for the specified metric.

Parameters

datapoints:Array — The datapoints for the specified metric.

See also

setLabel()method 
public function setLabel(label:String):void

A label describing the specified metric.

Parameters

label:String — A label describing the specified metric.

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.
withDatapoints()method 
public function withDatapoints(datapoints:Array):GetMetricStatisticsResult

The datapoints for the specified metric. Returns a reference to this object so that method calls can be chained together.

Parameters

datapoints:Array — The datapoints for the specified metric.

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

See also

withLabel()method 
public function withLabel(label:String):GetMetricStatisticsResult

A label describing the specified metric. Returns a reference to this object so that method calls can be chained together.

Parameters

label:String — A label describing the specified metric.

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