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