public static interface LifecycleRuleFilter.Builder extends SdkPojo, CopyableBuilder<LifecycleRuleFilter.Builder,LifecycleRuleFilter>
| Modifier and Type | Method and Description |
|---|---|
default LifecycleRuleFilter.Builder |
and(Consumer<LifecycleRuleAndOperator.Builder> and)
This is a convenience that creates an instance of the
LifecycleRuleAndOperator.Builder avoiding the
need to create one manually via LifecycleRuleAndOperator.builder(). |
LifecycleRuleFilter.Builder |
and(LifecycleRuleAndOperator and)
|
LifecycleRuleFilter.Builder |
prefix(String prefix)
Prefix identifying one or more objects to which the rule applies.
|
default LifecycleRuleFilter.Builder |
tag(Consumer<Tag.Builder> tag)
This tag must exist in the object's tag set in order for the rule to apply.
|
LifecycleRuleFilter.Builder |
tag(Tag tag)
This tag must exist in the object's tag set in order for the rule to apply.
|
copyapplyMutation, buildLifecycleRuleFilter.Builder prefix(String prefix)
Prefix identifying one or more objects to which the rule applies.
prefix - Prefix identifying one or more objects to which the rule applies.LifecycleRuleFilter.Builder tag(Tag tag)
This tag must exist in the object's tag set in order for the rule to apply.
tag - This tag must exist in the object's tag set in order for the rule to apply.default LifecycleRuleFilter.Builder tag(Consumer<Tag.Builder> tag)
This tag must exist in the object's tag set in order for the rule to apply.
This is a convenience that creates an instance of theTag.Builder avoiding the need to create one
manually via Tag.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to tag(Tag).tag - a consumer that will call methods on Tag.Buildertag(Tag)LifecycleRuleFilter.Builder and(LifecycleRuleAndOperator and)
and - default LifecycleRuleFilter.Builder and(Consumer<LifecycleRuleAndOperator.Builder> and)
LifecycleRuleAndOperator.Builder avoiding the
need to create one manually via LifecycleRuleAndOperator.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to and(LifecycleRuleAndOperator).and - a consumer that will call methods on LifecycleRuleAndOperator.Builderand(LifecycleRuleAndOperator)Copyright © 2019. All rights reserved.