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
-
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
PutBucketAnalyticsConfigurationRequest.Builder bucket(String 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
PutBucketAnalyticsConfigurationRequest.Builder id(String 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:
analyticsConfiguration(AnalyticsConfiguration)
-
expectedBucketOwner
PutBucketAnalyticsConfigurationRequest.Builder expectedBucketOwner(String 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)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
PutBucketAnalyticsConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-