public final class LifecyclePrefixPredicate extends LifecycleFilterPredicate
LifecycleFilterPredicate
class to represent the
prefix identifying one or more objects to which the
BucketLifecycleConfiguration.Rule
applies.Constructor and Description |
---|
LifecyclePrefixPredicate(String prefix) |
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. |
String |
getPrefix()
Returns the key prefix for which the
BucketLifecycleConfiguration.Rule will apply. |
public LifecyclePrefixPredicate(String prefix)
public String getPrefix()
BucketLifecycleConfiguration.Rule
will apply.public void accept(LifecyclePredicateVisitor lifecyclePredicateVisitor)
LifecycleFilterPredicate
LifecyclePredicateVisitor
and invokes the most applicable visit method in the visitor.accept
in class LifecycleFilterPredicate
Copyright © 2020. All rights reserved.