Interface GetBucketAnalyticsConfigurationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetBucketAnalyticsConfigurationResponse.Builder,,GetBucketAnalyticsConfigurationResponse> S3Response.Builder,SdkBuilder<GetBucketAnalyticsConfigurationResponse.Builder,,GetBucketAnalyticsConfigurationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetBucketAnalyticsConfigurationResponse
public static interface GetBucketAnalyticsConfigurationResponse.Builder
extends S3Response.Builder, SdkPojo, CopyableBuilder<GetBucketAnalyticsConfigurationResponse.Builder,GetBucketAnalyticsConfigurationResponse>
-
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.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.s3.model.S3Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
analyticsConfiguration
GetBucketAnalyticsConfigurationResponse.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 GetBucketAnalyticsConfigurationResponse.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:
-