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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.s3.model.S3Request.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaAnalyticsConfiguration.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-