Interface ExperimentTemplateLogConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ExperimentTemplateLogConfiguration.Builder,
,ExperimentTemplateLogConfiguration> SdkBuilder<ExperimentTemplateLogConfiguration.Builder,
,ExperimentTemplateLogConfiguration> SdkPojo
- Enclosing class:
ExperimentTemplateLogConfiguration
public static interface ExperimentTemplateLogConfiguration.Builder
extends SdkPojo, CopyableBuilder<ExperimentTemplateLogConfiguration.Builder,ExperimentTemplateLogConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptioncloudWatchLogsConfiguration
(Consumer<ExperimentTemplateCloudWatchLogsLogConfiguration.Builder> cloudWatchLogsConfiguration) The configuration for experiment logging to Amazon CloudWatch Logs.cloudWatchLogsConfiguration
(ExperimentTemplateCloudWatchLogsLogConfiguration cloudWatchLogsConfiguration) The configuration for experiment logging to Amazon CloudWatch Logs.logSchemaVersion
(Integer logSchemaVersion) The schema version.s3Configuration
(Consumer<ExperimentTemplateS3LogConfiguration.Builder> s3Configuration) The configuration for experiment logging to Amazon S3.s3Configuration
(ExperimentTemplateS3LogConfiguration s3Configuration) The configuration for experiment logging to Amazon S3.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
-
cloudWatchLogsConfiguration
ExperimentTemplateLogConfiguration.Builder cloudWatchLogsConfiguration(ExperimentTemplateCloudWatchLogsLogConfiguration cloudWatchLogsConfiguration) The configuration for experiment logging to Amazon CloudWatch Logs.
- Parameters:
cloudWatchLogsConfiguration
- The configuration for experiment logging to Amazon CloudWatch Logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudWatchLogsConfiguration
default ExperimentTemplateLogConfiguration.Builder cloudWatchLogsConfiguration(Consumer<ExperimentTemplateCloudWatchLogsLogConfiguration.Builder> cloudWatchLogsConfiguration) The configuration for experiment logging to Amazon CloudWatch Logs.
This is a convenience method that creates an instance of theExperimentTemplateCloudWatchLogsLogConfiguration.Builder
avoiding the need to create one manually viaExperimentTemplateCloudWatchLogsLogConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocloudWatchLogsConfiguration(ExperimentTemplateCloudWatchLogsLogConfiguration)
.- Parameters:
cloudWatchLogsConfiguration
- a consumer that will call methods onExperimentTemplateCloudWatchLogsLogConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
s3Configuration
ExperimentTemplateLogConfiguration.Builder s3Configuration(ExperimentTemplateS3LogConfiguration s3Configuration) The configuration for experiment logging to Amazon S3.
- Parameters:
s3Configuration
- The configuration for experiment logging to Amazon S3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Configuration
default ExperimentTemplateLogConfiguration.Builder s3Configuration(Consumer<ExperimentTemplateS3LogConfiguration.Builder> s3Configuration) The configuration for experiment logging to Amazon S3.
This is a convenience method that creates an instance of theExperimentTemplateS3LogConfiguration.Builder
avoiding the need to create one manually viaExperimentTemplateS3LogConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tos3Configuration(ExperimentTemplateS3LogConfiguration)
.- Parameters:
s3Configuration
- a consumer that will call methods onExperimentTemplateS3LogConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
logSchemaVersion
The schema version.
- Parameters:
logSchemaVersion
- The schema version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-