public static interface LifecycleConfiguration.Builder extends CopyableBuilder<LifecycleConfiguration.Builder,LifecycleConfiguration>
| Modifier and Type | Method and Description |
|---|---|
LifecycleConfiguration.Builder |
rules(Collection<Rule> rules)
Sets the value of the Rules property for this object.
|
LifecycleConfiguration.Builder |
rules(Consumer<Rule.Builder>... rules)
Sets the value of the Rules property for this object.
|
LifecycleConfiguration.Builder |
rules(Rule... rules)
Sets the value of the Rules property for this object.
|
copyapply, buildLifecycleConfiguration.Builder rules(Collection<Rule> rules)
rules - The new value for the Rules property for this object.LifecycleConfiguration.Builder rules(Rule... rules)
rules - The new value for the Rules property for this object.LifecycleConfiguration.Builder rules(Consumer<Rule.Builder>... rules)
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 #rules(List) .rules - a consumer that will call methods on List.Builder #rules(List) Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.