public static interface PutBucketMetricsConfigurationRequest.Builder extends S3Request.Builder, SdkPojo, CopyableBuilder<PutBucketMetricsConfigurationRequest.Builder,PutBucketMetricsConfigurationRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildPutBucketMetricsConfigurationRequest.Builder bucket(String bucket)
The name of the bucket for which the metrics configuration is set.
bucket - The name of the bucket for which the metrics configuration is set.PutBucketMetricsConfigurationRequest.Builder id(String id)
The ID used to identify the metrics configuration.
id - The ID used to identify the metrics configuration.PutBucketMetricsConfigurationRequest.Builder metricsConfiguration(MetricsConfiguration metricsConfiguration)
Specifies the metrics configuration.
metricsConfiguration - Specifies the metrics configuration.default PutBucketMetricsConfigurationRequest.Builder metricsConfiguration(Consumer<MetricsConfiguration.Builder> metricsConfiguration)
Specifies the metrics configuration.
This is a convenience method that creates an instance of theMetricsConfiguration.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.BuildermetricsConfiguration(MetricsConfiguration)PutBucketMetricsConfigurationRequest.Builder expectedBucketOwner(String expectedBucketOwner)
The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails
with the HTTP status code 403 Forbidden (access denied).
expectedBucketOwner - The account ID of the expected bucket owner. If the bucket is owned by a different account, the
request fails with the HTTP status code 403 Forbidden (access denied).PutBucketMetricsConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderPutBucketMetricsConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.