@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AlertFilters extends Object implements Serializable, Cloneable, StructuredPojo
The configuration of the alert filters.
| Constructor and Description |
|---|
AlertFilters() |
| Modifier and Type | Method and Description |
|---|---|
AlertFilters |
clone() |
boolean |
equals(Object obj) |
List<DimensionFilter> |
getDimensionFilterList()
The list of DimensionFilter objects that are used for dimension-based filtering.
|
List<String> |
getMetricList()
The list of measures that you want to get alerts for.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setDimensionFilterList(Collection<DimensionFilter> dimensionFilterList)
The list of DimensionFilter objects that are used for dimension-based filtering.
|
void |
setMetricList(Collection<String> metricList)
The list of measures that you want to get alerts for.
|
String |
toString()
Returns a string representation of this object.
|
AlertFilters |
withDimensionFilterList(Collection<DimensionFilter> dimensionFilterList)
The list of DimensionFilter objects that are used for dimension-based filtering.
|
AlertFilters |
withDimensionFilterList(DimensionFilter... dimensionFilterList)
The list of DimensionFilter objects that are used for dimension-based filtering.
|
AlertFilters |
withMetricList(Collection<String> metricList)
The list of measures that you want to get alerts for.
|
AlertFilters |
withMetricList(String... metricList)
The list of measures that you want to get alerts for.
|
public List<String> getMetricList()
The list of measures that you want to get alerts for.
public void setMetricList(Collection<String> metricList)
The list of measures that you want to get alerts for.
metricList - The list of measures that you want to get alerts for.public AlertFilters withMetricList(String... metricList)
The list of measures that you want to get alerts for.
NOTE: This method appends the values to the existing list (if any). Use
setMetricList(java.util.Collection) or withMetricList(java.util.Collection) if you want to
override the existing values.
metricList - The list of measures that you want to get alerts for.public AlertFilters withMetricList(Collection<String> metricList)
The list of measures that you want to get alerts for.
metricList - The list of measures that you want to get alerts for.public List<DimensionFilter> getDimensionFilterList()
The list of DimensionFilter objects that are used for dimension-based filtering.
public void setDimensionFilterList(Collection<DimensionFilter> dimensionFilterList)
The list of DimensionFilter objects that are used for dimension-based filtering.
dimensionFilterList - The list of DimensionFilter objects that are used for dimension-based filtering.public AlertFilters withDimensionFilterList(DimensionFilter... dimensionFilterList)
The list of DimensionFilter objects that are used for dimension-based filtering.
NOTE: This method appends the values to the existing list (if any). Use
setDimensionFilterList(java.util.Collection) or withDimensionFilterList(java.util.Collection)
if you want to override the existing values.
dimensionFilterList - The list of DimensionFilter objects that are used for dimension-based filtering.public AlertFilters withDimensionFilterList(Collection<DimensionFilter> dimensionFilterList)
The list of DimensionFilter objects that are used for dimension-based filtering.
dimensionFilterList - The list of DimensionFilter objects that are used for dimension-based filtering.public String toString()
toString in class ObjectObject.toString()public AlertFilters clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2025. All rights reserved.