Packagecom.amazonaws.services.cloudwatch
Classpublic class DatapointEnum
InheritanceDatapointEnum Inheritance Object

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

Datapoint constants.



Public Methods
 MethodDefined By
  
toString():String
Returns the Datapoint attribute.
DatapointEnum
  
valueOf(name:String):DatapointEnum
[static] Returns the enum constant of this type with the specified name.
DatapointEnum
  
values():Array
[static] Returns an array containing the constants of this enum type, in the order they are declared.
DatapointEnum
Public Constants
 ConstantDefined By
  AVERAGE : DatapointEnum
[static]
DatapointEnum
  MAXIMUM : DatapointEnum
[static]
DatapointEnum
  MINIMUM : DatapointEnum
[static]
DatapointEnum
  SAMPLE_COUNT : DatapointEnum
[static]
DatapointEnum
  SUM : DatapointEnum
[static]
DatapointEnum
  TIMESTAMP : DatapointEnum
[static]
DatapointEnum
  UNIT : DatapointEnum
[static]
DatapointEnum
Method Detail
toString()method
public function toString():String

Returns the Datapoint attribute.

Returns
String — The name of this attribute.
valueOf()method 
public static function valueOf(name:String):DatapointEnum

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters

name:String — the name of the enum constant to be returned.

Returns
DatapointEnum — the enum constant with the specified name

Throws
TypeError — if the argument is null
 
ArgumentError — if this enum type has no constant with the specified name
values()method 
public static function values():Array

Returns an array containing the constants of this enum type, in the order they are declared.

Returns
Array

Example
This function may be used to iterate over the constants as follows:
           for each (var attribute:DatapointEnum in DatapointEnum.values()) {
                     // do something with attribute object...
               
           }
         

Constant Detail
AVERAGEConstant
public static const AVERAGE:DatapointEnum

MAXIMUMConstant 
public static const MAXIMUM:DatapointEnum

MINIMUMConstant 
public static const MINIMUM:DatapointEnum

SAMPLE_COUNTConstant 
public static const SAMPLE_COUNT:DatapointEnum

SUMConstant 
public static const SUM:DatapointEnum

TIMESTAMPConstant 
public static const TIMESTAMP:DatapointEnum

UNITConstant 
public static const UNIT:DatapointEnum