public static interface LifecycleRuleAndOperator.Builder extends CopyableBuilder<LifecycleRuleAndOperator.Builder,LifecycleRuleAndOperator>
Modifier and Type | Method and Description |
---|---|
LifecycleRuleAndOperator.Builder |
prefix(String prefix)
Sets the value of the Prefix property for this object.
|
LifecycleRuleAndOperator.Builder |
tags(Collection<Tag> tags)
All of these tags must exist in the object's tag set in order for the rule to apply.
|
LifecycleRuleAndOperator.Builder |
tags(Consumer<Tag.Builder>... tags)
All of these tags must exist in the object's tag set in order for the rule to apply.
|
LifecycleRuleAndOperator.Builder |
tags(Tag... tags)
All of these tags must exist in the object's tag set in order for the rule to apply.
|
copy
applyMutation, build
LifecycleRuleAndOperator.Builder prefix(String prefix)
prefix
- The new value for the Prefix property for this object.LifecycleRuleAndOperator.Builder tags(Collection<Tag> tags)
tags
- All of these tags must exist in the object's tag set in order for the rule to apply.LifecycleRuleAndOperator.Builder tags(Tag... tags)
tags
- All of these tags must exist in the object's tag set in order for the rule to apply.LifecycleRuleAndOperator.Builder tags(Consumer<Tag.Builder>... tags)
List.Builder
avoiding the need to create one manually via
List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.