|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.cloudwatch.model.DimensionFilter
public class DimensionFilter
The DimensionFilter
data type is used to filter ListMetrics results.
Constructor Summary | |
---|---|
DimensionFilter()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getName()
The dimension name to be matched. |
String |
getValue()
The value of the dimension to be matched. |
int |
hashCode()
|
void |
setName(String name)
The dimension name to be matched. |
void |
setValue(String value)
The value of the dimension to be matched. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
DimensionFilter |
withName(String name)
The dimension name to be matched. |
DimensionFilter |
withValue(String value)
The value of the dimension to be matched. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DimensionFilter()
Method Detail |
---|
public String getName()
Constraints:
Length: 1 - 255
public void setName(String name)
Constraints:
Length: 1 - 255
name
- The dimension name to be matched.public DimensionFilter withName(String name)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
name
- The dimension name to be matched.
public String getValue()
Name
without specifying a Value
returns all
values associated with that Name
.
Constraints:
Length: 1 - 255
Name
without specifying a Value
returns all
values associated with that Name
. public void setValue(String value)
Name
without specifying a Value
returns all
values associated with that Name
.
Constraints:
Length: 1 - 255
value
- The value of the dimension to be matched. Name
without specifying a Value
returns all
values associated with that Name
. public DimensionFilter withValue(String value)
Name
without specifying a Value
returns all
values associated with that Name
. Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
value
- The value of the dimension to be matched. Name
without specifying a Value
returns all
values associated with that Name
. public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |