public class LifecycleFilter extends Object implements Serializable
LifecycleFilter
is used to identify objects that a Lifecycle Rule applies to.
This predicate in LifecycleFilter
should be one of:
Constructor and Description |
---|
LifecycleFilter() |
LifecycleFilter(LifecycleFilterPredicate predicate) |
Modifier and Type | Method and Description |
---|---|
LifecycleFilterPredicate |
getPredicate()
Returns the
LifecycleFilterPredicate to be applied to BucketLifecycleConfiguration.Rule . |
void |
setPredicate(LifecycleFilterPredicate predicate)
Sets the
LifecycleFilterPredicate to be applied to BucketLifecycleConfiguration.Rule . |
LifecycleFilter |
withPredicate(LifecycleFilterPredicate predicate)
Sets the
LifecycleFilterPredicate to be applied to BucketLifecycleConfiguration.Rule and returns the object
for method chaining. |
public LifecycleFilter()
public LifecycleFilter(LifecycleFilterPredicate predicate)
public LifecycleFilterPredicate getPredicate()
LifecycleFilterPredicate
to be applied to BucketLifecycleConfiguration.Rule
.
This predicate in LifecycleFilter
should be one of:
public void setPredicate(LifecycleFilterPredicate predicate)
LifecycleFilterPredicate
to be applied to BucketLifecycleConfiguration.Rule
.
This predicate in LifecycleFilter
should be one of:
predicate
- An object of type LifecycleFilterPredicate
.public LifecycleFilter withPredicate(LifecycleFilterPredicate predicate)
LifecycleFilterPredicate
to be applied to BucketLifecycleConfiguration.Rule
and returns the object
for method chaining.
This predicate in LifecycleFilter
should be one of:
predicate
- An object of type LifecycleFilterPredicate
.Copyright © 2024. All rights reserved.