Interface GetBucketMetricsConfigurationRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetBucketMetricsConfigurationRequest.Builder,GetBucketMetricsConfigurationRequest>,S3Request.Builder,SdkBuilder<GetBucketMetricsConfigurationRequest.Builder,GetBucketMetricsConfigurationRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- GetBucketMetricsConfigurationRequest
public static interface GetBucketMetricsConfigurationRequest.Builder extends S3Request.Builder, SdkPojo, CopyableBuilder<GetBucketMetricsConfigurationRequest.Builder,GetBucketMetricsConfigurationRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetBucketMetricsConfigurationRequest.Builderbucket(String bucket)The name of the bucket containing the metrics configuration to retrieve.GetBucketMetricsConfigurationRequest.BuilderexpectedBucketOwner(String expectedBucketOwner)The account ID of the expected bucket owner.GetBucketMetricsConfigurationRequest.Builderid(String id)The ID used to identify the metrics configuration.GetBucketMetricsConfigurationRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)GetBucketMetricsConfigurationRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.s3.model.S3Request.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
bucket
GetBucketMetricsConfigurationRequest.Builder bucket(String bucket)
The name of the bucket containing the metrics configuration to retrieve.
- Parameters:
bucket- The name of the bucket containing the metrics configuration to retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
GetBucketMetricsConfigurationRequest.Builder id(String id)
The ID used to identify the metrics configuration. The ID has a 64 character limit and can only contain letters, numbers, periods, dashes, and underscores.
- Parameters:
id- The ID used to identify the metrics configuration. The ID has a 64 character limit and can only contain letters, numbers, periods, dashes, and underscores.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expectedBucketOwner
GetBucketMetricsConfigurationRequest.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).- Parameters:
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 code403 Forbidden(access denied).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetBucketMetricsConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
GetBucketMetricsConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-