public static interface BucketLifecycleConfiguration.Builder extends CopyableBuilder<BucketLifecycleConfiguration.Builder,BucketLifecycleConfiguration>
| Modifier and Type | Method and Description |
|---|---|
BucketLifecycleConfiguration.Builder |
rules(Collection<LifecycleRule> rules)
Sets the value of the Rules property for this object.
|
BucketLifecycleConfiguration.Builder |
rules(Consumer<LifecycleRule.Builder>... rules)
Sets the value of the Rules property for this object.
|
BucketLifecycleConfiguration.Builder |
rules(LifecycleRule... rules)
Sets the value of the Rules property for this object.
|
copyapply, buildBucketLifecycleConfiguration.Builder rules(Collection<LifecycleRule> rules)
rules - The new value for the Rules property for this object.BucketLifecycleConfiguration.Builder rules(LifecycleRule... rules)
rules - The new value for the Rules property for this object.BucketLifecycleConfiguration.Builder rules(Consumer<LifecycleRule.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.