Packagecom.amazonaws.services.cloudwatch.model
Classpublic class Dimension
InheritanceDimension Inheritance Object

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

The Dimension data type further expands on the identity of a metric using a Name, Value pair.



Public Methods
 MethodDefined By
  
Default C'tor.
Dimension
  
getName():String
The name of the dimension.
Dimension
  
getValue():String
The value representing the dimension measurement.
Dimension
  
setName(name:String):void
The name of the dimension.
Dimension
  
setValue(value:String):void
The value representing the dimension measurement.
Dimension
  
toString():String
Returns a string representation of this object; useful for testing and debugging.
Dimension
  
withName(name:String):Dimension
The name of the dimension.
Dimension
  
withValue(value:String):Dimension
The value representing the dimension measurement.
Dimension
Constructor Detail
Dimension()Constructor
public function Dimension()

Default C'tor.

Method Detail
getName()method
public function getName():String

The name of the dimension.

Length: 1 - 255

Returns
String — The name of the dimension.
getValue()method 
public function getValue():String

The value representing the dimension measurement.

Length: 1 - 255

Returns
String — The value representing the dimension measurement
setName()method 
public function setName(name:String):void

The name of the dimension.

Length: 1 - 255

Parameters

name:String — The name of the dimension.

setValue()method 
public function setValue(value:String):void

The value representing the dimension measurement.

Length: 1 - 255

Parameters

value:String — The value representing the dimension measurement

toString()method 
public function toString():String

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

Returns
String — A string representation of this object.
withName()method 
public function withName(name:String):Dimension

The name of the dimension. Returns a reference to this object so that method calls can be chained together.

Length: 1 - 255

Parameters

name:String — The name of the dimension.

Returns
Dimension — A reference to this updated object so that method calls can be chained together.
withValue()method 
public function withValue(value:String):Dimension

The value representing the dimension measurement. Returns a reference to this object so that method calls can be chained together.

Length: 1 - 255

Parameters

value:String — The value representing the dimension measurement

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