Class DimensionFilter
java.lang.Object
com.amazonaws.services.cloudwatch.model.DimensionFilter
- All Implemented Interfaces:
Serializable, Cloneable
The DimensionFilter data type is used to filter
ListMetrics results.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleangetName()The dimension name to be matched.getValue()The value of the dimension to be matched.inthashCode()voidThe dimension name to be matched.voidThe value of the dimension to be matched.toString()Returns a string representation of this object; useful for testing and debugging.The dimension name to be matched.The value of the dimension to be matched.
-
Constructor Details
-
DimensionFilter
public DimensionFilter()
-
-
Method Details
-
setName
The dimension name to be matched.
- Parameters:
name- The dimension name to be matched.
-
getName
The dimension name to be matched.
- Returns:
- The dimension name to be matched.
-
withName
The dimension name to be matched.
- Parameters:
name- The dimension name to be matched.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setValue
The value of the dimension to be matched.
Specifying a Namewithout specifying aValuereturns all values associated with thatName.- Parameters:
value- The value of the dimension to be matched.Specifying a Namewithout specifying aValuereturns all values associated with thatName.
-
getValue
The value of the dimension to be matched.
Specifying a Namewithout specifying aValuereturns all values associated with thatName.- Returns:
- The value of the dimension to be matched.
Specifying a Namewithout specifying aValuereturns all values associated with thatName.
-
withValue
The value of the dimension to be matched.
Specifying a Namewithout specifying aValuereturns all values associated with thatName.- Parameters:
value- The value of the dimension to be matched.Specifying a Namewithout specifying aValuereturns all values associated with thatName.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
-