public final class LifecycleAndOperator extends LifecycleFilterPredicate
LifecycleFilterPredicate
.
The Lifecycle Rule will apply to any object matching all of the predicates configured inside the And operator.
The LifecycleAndOperator
can contain at most one LifecyclePrefixPredicate
and any number of LifecycleTagPredicate
s.Constructor and Description |
---|
LifecycleAndOperator(java.util.List<LifecycleFilterPredicate> operands)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(LifecyclePredicateVisitor lifecyclePredicateVisitor)
Helper method that accepts an implemenation of
LifecyclePredicateVisitor
and invokes the most applicable visit method in the visitor. |
java.util.List<LifecycleFilterPredicate> |
getOperands() |
public LifecycleAndOperator(java.util.List<LifecycleFilterPredicate> operands)
operands
- the list of LifecycleFilterPredicate.public void accept(LifecyclePredicateVisitor lifecyclePredicateVisitor)
LifecycleFilterPredicate
LifecyclePredicateVisitor
and invokes the most applicable visit method in the visitor.accept
in class LifecycleFilterPredicate
lifecyclePredicateVisitor
- the LifecyclePredicateVisitor.public java.util.List<LifecycleFilterPredicate> getOperands()
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.