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()
boolean
getName()
The dimension name to be matched.getValue()
The value of the dimension to be matched.int
hashCode()
void
The dimension name to be matched.void
The 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 Name
without specifying aValue
returns all values associated with thatName
.- Parameters:
value
- The value of the dimension to be matched.Specifying a Name
without specifying aValue
returns all values associated with thatName
.
-
getValue
The value of the dimension to be matched.
Specifying a Name
without specifying aValue
returns all values associated with thatName
.- Returns:
- The value of the dimension to be matched.
Specifying a Name
without specifying aValue
returns all values associated with thatName
.
-
withValue
The value of the dimension to be matched.
Specifying a Name
without specifying aValue
returns all values associated with thatName
.- Parameters:
value
- The value of the dimension to be matched.Specifying a Name
without specifying aValue
returns all values associated with thatName
.- 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
-