public static interface GetBucketMetricsConfigurationResponse.Builder extends S3Response.Builder, CopyableBuilder<GetBucketMetricsConfigurationResponse.Builder,GetBucketMetricsConfigurationResponse>
Modifier and Type | Method and Description |
---|---|
default GetBucketMetricsConfigurationResponse.Builder |
metricsConfiguration(Consumer<MetricsConfiguration.Builder> metricsConfiguration)
Specifies the metrics configuration.
|
GetBucketMetricsConfigurationResponse.Builder |
metricsConfiguration(MetricsConfiguration metricsConfiguration)
Specifies the metrics configuration.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
GetBucketMetricsConfigurationResponse.Builder metricsConfiguration(MetricsConfiguration metricsConfiguration)
metricsConfiguration
- Specifies the metrics configuration.default GetBucketMetricsConfigurationResponse.Builder metricsConfiguration(Consumer<MetricsConfiguration.Builder> metricsConfiguration)
MetricsConfiguration.Builder
avoiding the need to create one manually via
MetricsConfiguration.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to metricsConfiguration(MetricsConfiguration)
.metricsConfiguration
- a consumer that will call methods on MetricsConfiguration.Builder
metricsConfiguration(MetricsConfiguration)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.