Package | com.amazonaws.services.cloudwatch.model |
Class | public class Metric |
Inheritance | Metric ![]() |
Language Version : | ActionScript 3.0 |
Product Version : | Flex 4 |
Since : | July 12. 2011 |
Runtime Versions : | Flash Player 10.1, AIR 2.5 |
Method | Defined By | ||
---|---|---|---|
Metric()
Default C'tor. | Metric | ||
getDimensions():Array
A list of dimensions (com.amazonaws.services.cloudwatch.model.Dimension) associated with the metric. | Metric | ||
getMetricName():String
The name of the metric. | Metric | ||
getNamespace():String
The namespace of the metric. | Metric | ||
setDimensions(dimensions:Array):void
A list of dimensions (com.amazonaws.services.cloudwatch.model.Dimension) associated with the metric. | Metric | ||
setMetricName(metricName:String):void
The name of the metric. | Metric | ||
setNamespace(namespace:String):void
The namespace of the metric. | Metric | ||
toString():String
Returns a string representation of this object; useful for testing and debugging. | Metric | ||
withDimensions(dimensions:Array):Metric
A list of dimensions (com.amazonaws.services.cloudwatch.model.Dimension) associated with the metric. | Metric | ||
withMetricName(metricName:String):Metric
The name of the metric. | Metric | ||
withNamespace(namespace:String):Metric
The namespace of the metric. | Metric |
Metric | () | Constructor |
public function Metric()
Default C'tor.
getDimensions | () | method |
public function getDimensions():Array
A list of dimensions (com.amazonaws.services.cloudwatch.model.Dimension
) associated with the metric.
Array — A list of dimensions associated with the metric.
|
See also
getMetricName | () | method |
public function getMetricName():String
The name of the metric.
Length: 1 - 255 ReturnsString — The name of the metric.
|
getNamespace | () | method |
public function getNamespace():String
The namespace of the metric.
Length: 1 - 255 Pattern: [^:]. ReturnsString — The namespace of the metric.
|
setDimensions | () | method |
public function setDimensions(dimensions:Array):void
A list of dimensions (com.amazonaws.services.cloudwatch.model.Dimension
) associated with the metric.
Parameters
dimensions:Array — A list of dimensions (com.amazonaws.services.cloudwatch.model.Dimension ) associated with the metric.
|
See also
setMetricName | () | method |
public function setMetricName(metricName:String):void
The name of the metric.
Length: 1 - 255Parameters
metricName:String — The name of the metric.
|
setNamespace | () | method |
public function setNamespace(namespace:String):void
The namespace of the metric.
Length: 1 - 255 Pattern: [^:].Parameters
namespace:String — The namespace of the metric.
|
toString | () | method |
public function toString():String
Returns a string representation of this object; useful for testing and debugging.
ReturnsString — A string representation of this object.
|
withDimensions | () | method |
public function withDimensions(dimensions:Array):Metric
A list of dimensions (com.amazonaws.services.cloudwatch.model.Dimension
) associated with the metric.
Returns a reference to this object so that method calls can be chained together.
Parameters
dimensions:Array — A list of dimensions (com.amazonaws.services.cloudwatch.model.Dimension ) associated with the metric.
|
Metric — A reference to this updated object so that method calls can be chained together.
|
See also
withMetricName | () | method |
public function withMetricName(metricName:String):Metric
The name of the metric. Returns a reference to this object so that method calls can be chained together.
Length: 1 - 255Parameters
metricName:String — The name of the metric.
|
Metric — A reference to this updated object so that method calls can be chained together.
|
withNamespace | () | method |
public function withNamespace(namespace:String):Metric
The namespace of the metric. Returns a reference to this object so that method calls can be chained together.
Length: 1 - 255 Pattern: [^:].Parameters
namespace:String — The namespace of the metric.
|
Metric — A reference to this updated object so that method calls can be chained together.
|