public final class MetricsAndOperator extends MetricsFilterPredicate
MetricsAndOperator
can contain at most one MetricsPrefixPredicate
and
any number of MetricsTagPredicate
s.Constructor and Description |
---|
MetricsAndOperator(java.util.List<MetricsFilterPredicate> operands)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(MetricsPredicateVisitor metricsPredicateVisitor)
Helper method that accepts an implemenation of
MetricsPredicateVisitor
and invokes the most applicable visit method in the visitor. |
java.util.List<MetricsFilterPredicate> |
getOperands() |
public MetricsAndOperator(java.util.List<MetricsFilterPredicate> operands)
operands
- the list of MetricsFilterPredicatepublic void accept(MetricsPredicateVisitor metricsPredicateVisitor)
MetricsFilterPredicate
MetricsPredicateVisitor
and invokes the most applicable visit method in the visitor.accept
in class MetricsFilterPredicate
metricsPredicateVisitor
- the MetricsPredicateVisitor.public java.util.List<MetricsFilterPredicate> getOperands()
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.