Package | com.amazonaws.services.cloudwatch |
Class | public class DatapointEnum |
Inheritance | DatapointEnum ![]() |
Language Version : | ActionScript 3.0 |
Product Version : | Flex 4 |
Since : | July 28. 2011 |
Runtime Versions : | Flash Player 10.1, AIR 2.5 |
Method | Defined 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 |
Constant | Defined 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 |
toString | () | method |
public function toString():String
Returns the Datapoint attribute.
ReturnsString — 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.
|
DatapointEnum — the enum constant with the specified name
|
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.
ReturnsArray —
|
for each (var attribute:DatapointEnum in DatapointEnum.values()) { // do something with attribute object... }
AVERAGE | Constant |
public static const AVERAGE:DatapointEnum
MAXIMUM | Constant |
public static const MAXIMUM:DatapointEnum
MINIMUM | Constant |
public static const MINIMUM:DatapointEnum
SAMPLE_COUNT | Constant |
public static const SAMPLE_COUNT:DatapointEnum
SUM | Constant |
public static const SUM:DatapointEnum
TIMESTAMP | Constant |
public static const TIMESTAMP:DatapointEnum
UNIT | Constant |
public static const UNIT:DatapointEnum