public class DimensionFilter
extends java.lang.Object
implements java.io.Serializable
The DimensionFilter
data type is used to filter
ListMetrics results.
Constructor and Description |
---|
DimensionFilter() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getName()
The dimension name to be matched.
|
java.lang.String |
getValue()
The value of the dimension to be matched.
|
int |
hashCode() |
void |
setName(java.lang.String name)
The dimension name to be matched.
|
void |
setValue(java.lang.String value)
The value of the dimension to be matched.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DimensionFilter |
withName(java.lang.String name)
The dimension name to be matched.
|
DimensionFilter |
withValue(java.lang.String value)
The value of the dimension to be matched.
|
public java.lang.String getName()
The dimension name to be matched.
Constraints:
Length: 1 - 255
The dimension name to be matched.
public void setName(java.lang.String name)
The dimension name to be matched.
Constraints:
Length: 1 - 255
name
- The dimension name to be matched.
public DimensionFilter withName(java.lang.String name)
The dimension name to be matched.
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 java.lang.String getValue()
The value of the dimension to be matched.
Name
without specifying a
Value
returns all values associated with that
Name
.
Constraints:
Length: 1 - 255
The value of the dimension to be matched.
Name
without specifying a
Value
returns all values associated with that
Name
. public void setValue(java.lang.String value)
The value of the dimension to be matched.
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(java.lang.String value)
The value of the dimension to be matched.
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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.