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)
LifecycleFilterPredicateLifecyclePredicateVisitor
and invokes the most applicable visit method in the visitor.accept in class LifecycleFilterPredicateCopyright © 2025. All rights reserved.