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()
boolean
getName()
The name of the dimension.getValue()
The value representing the dimension measurementint
hashCode()
void
The name of the dimension.void
The 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
The name of the dimension.
- Returns:
- The name of the dimension.
-
withName
The name of the dimension.
- Parameters:
name
- The name of the dimension.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
The value representing the dimension measurement
- Parameters:
value
- The value representing the dimension measurement- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-