public final class LifecycleTagPredicate extends LifecycleFilterPredicate
LifecycleFilterPredicate
class to represent the Tag
object
that must exist in the object's tag set in order for the
BucketLifecycleConfiguration.Rule
to apply.Constructor and Description |
---|
LifecycleTagPredicate(Tag tag)
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. |
Tag |
getTag() |
public LifecycleTagPredicate(Tag tag)
tag
- the tag.public Tag getTag()
public void accept(LifecyclePredicateVisitor lifecyclePredicateVisitor)
LifecycleFilterPredicate
LifecyclePredicateVisitor
and invokes the most applicable visit method in the visitor.accept
in class LifecycleFilterPredicate
lifecyclePredicateVisitor
- the LifecyclePredicateVisitor.Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.