Class Dimension
java.lang.Object
com.amazonaws.services.cloudwatch.model.Dimension
- All Implemented Interfaces:
Serializable, Cloneable
The Dimension data type further expands on the identity of a
metric using a Name, Value pair.
For examples that use one or more dimensions, see PutMetricData.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleangetName()The name of the dimension.getValue()The value representing the dimension measurementinthashCode()voidThe name of the dimension.voidThe value representing the dimension measurementtoString()Returns a string representation of this object; useful for testing and debugging.The name of the dimension.The value representing the dimension measurement
-
Constructor Details
-
Dimension
public Dimension()
-
-
Method Details
-
setName
The name of the dimension.
- Parameters:
name- The name of the dimension.
-
getName
-
withName
-
setValue
The value representing the dimension measurement
- Parameters:
value- The value representing the dimension measurement
-
getValue
The value representing the dimension measurement
- Returns:
- The value representing the dimension measurement
-
withValue
-
toString
-
equals
-
hashCode
-
clone
-