Interface PutBucketAnalyticsConfigurationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<PutBucketAnalyticsConfigurationRequest.Builder,
,PutBucketAnalyticsConfigurationRequest> S3Request.Builder
,SdkBuilder<PutBucketAnalyticsConfigurationRequest.Builder,
,PutBucketAnalyticsConfigurationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
PutBucketAnalyticsConfigurationRequest
public static interface PutBucketAnalyticsConfigurationRequest.Builder
extends S3Request.Builder, SdkPojo, CopyableBuilder<PutBucketAnalyticsConfigurationRequest.Builder,PutBucketAnalyticsConfigurationRequest>
-
Method Summary
Modifier and TypeMethodDescriptionanalyticsConfiguration
(Consumer<AnalyticsConfiguration.Builder> analyticsConfiguration) The configuration and any analyses for the analytics filter.analyticsConfiguration
(AnalyticsConfiguration analyticsConfiguration) The configuration and any analyses for the analytics filter.The name of the bucket to which an analytics configuration is stored.expectedBucketOwner
(String expectedBucketOwner) The account ID of the expected bucket owner.The ID that identifies the analytics configuration.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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 Details
-
bucket
The name of the bucket to which an analytics configuration is stored.
- Parameters:
bucket
- The name of the bucket to which an analytics configuration is stored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
The ID that identifies the analytics configuration.
- Parameters:
id
- The ID that identifies the analytics configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
analyticsConfiguration
PutBucketAnalyticsConfigurationRequest.Builder analyticsConfiguration(AnalyticsConfiguration analyticsConfiguration) The configuration and any analyses for the analytics filter.
- Parameters:
analyticsConfiguration
- The configuration and any analyses for the analytics filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
analyticsConfiguration
default PutBucketAnalyticsConfigurationRequest.Builder analyticsConfiguration(Consumer<AnalyticsConfiguration.Builder> analyticsConfiguration) The configuration and any analyses for the analytics filter.
This is a convenience method that creates an instance of theAnalyticsConfiguration.Builder
avoiding the need to create one manually viaAnalyticsConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toanalyticsConfiguration(AnalyticsConfiguration)
.- Parameters:
analyticsConfiguration
- a consumer that will call methods onAnalyticsConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
expectedBucketOwner
The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code
403 Forbidden
(access denied).- Parameters:
expectedBucketOwner
- The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, 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
PutBucketAnalyticsConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
PutBucketAnalyticsConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-