@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MetricSetDimensionFilter extends Object implements Serializable, Cloneable, StructuredPojo
Describes a list of filters for choosing a subset of dimension values. Each filter consists of the dimension and one of its values that you want to include. When multiple dimensions or values are specified, the dimensions are joined with an AND operation and the values are joined with an OR operation.
Constructor and Description |
---|
MetricSetDimensionFilter() |
Modifier and Type | Method and Description |
---|---|
MetricSetDimensionFilter |
clone() |
boolean |
equals(Object obj) |
List<Filter> |
getFilterList()
The list of filters that you are applying.
|
String |
getName()
The dimension that you want to filter on.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFilterList(Collection<Filter> filterList)
The list of filters that you are applying.
|
void |
setName(String name)
The dimension that you want to filter on.
|
String |
toString()
Returns a string representation of this object.
|
MetricSetDimensionFilter |
withFilterList(Collection<Filter> filterList)
The list of filters that you are applying.
|
MetricSetDimensionFilter |
withFilterList(Filter... filterList)
The list of filters that you are applying.
|
MetricSetDimensionFilter |
withName(String name)
The dimension that you want to filter on.
|
public void setName(String name)
The dimension that you want to filter on.
name
- The dimension that you want to filter on.public String getName()
The dimension that you want to filter on.
public MetricSetDimensionFilter withName(String name)
The dimension that you want to filter on.
name
- The dimension that you want to filter on.public List<Filter> getFilterList()
The list of filters that you are applying.
public void setFilterList(Collection<Filter> filterList)
The list of filters that you are applying.
filterList
- The list of filters that you are applying.public MetricSetDimensionFilter withFilterList(Filter... filterList)
The list of filters that you are applying.
NOTE: This method appends the values to the existing list (if any). Use
setFilterList(java.util.Collection)
or withFilterList(java.util.Collection)
if you want to
override the existing values.
filterList
- The list of filters that you are applying.public MetricSetDimensionFilter withFilterList(Collection<Filter> filterList)
The list of filters that you are applying.
filterList
- The list of filters that you are applying.public String toString()
toString
in class Object
Object.toString()
public MetricSetDimensionFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.