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(java.lang.String prefix)
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.lang.String |
getPrefix() |
public LifecyclePrefixPredicate(java.lang.String prefix)
prefix
- the prefix used to identify one or more objects that apply.public java.lang.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
lifecyclePredicateVisitor
- the LifecyclePredicateVisitor.Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.