Class CfnExperimentTemplate.ExperimentTemplateLogConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.fis.CfnExperimentTemplate.ExperimentTemplateLogConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnExperimentTemplate.ExperimentTemplateLogConfigurationProperty>
- Enclosing interface:
CfnExperimentTemplate.ExperimentTemplateLogConfigurationProperty
@Stability(Stable)
public static final class CfnExperimentTemplate.ExperimentTemplateLogConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnExperimentTemplate.ExperimentTemplateLogConfigurationProperty>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.cloudWatchLogsConfiguration
(Object cloudWatchLogsConfiguration) logSchemaVersion
(Number logSchemaVersion) s3Configuration
(Object s3Configuration)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
logSchemaVersion
@Stability(Stable) public CfnExperimentTemplate.ExperimentTemplateLogConfigurationProperty.Builder logSchemaVersion(Number logSchemaVersion) Sets the value ofCfnExperimentTemplate.ExperimentTemplateLogConfigurationProperty.getLogSchemaVersion()
- Parameters:
logSchemaVersion
- The schema version. This parameter is required.- Returns:
this
-
cloudWatchLogsConfiguration
@Stability(Stable) public CfnExperimentTemplate.ExperimentTemplateLogConfigurationProperty.Builder cloudWatchLogsConfiguration(Object cloudWatchLogsConfiguration) Sets the value ofCfnExperimentTemplate.ExperimentTemplateLogConfigurationProperty.getCloudWatchLogsConfiguration()
- Parameters:
cloudWatchLogsConfiguration
- The configuration for experiment logging to CloudWatch Logs .- Returns:
this
-
s3Configuration
@Stability(Stable) public CfnExperimentTemplate.ExperimentTemplateLogConfigurationProperty.Builder s3Configuration(Object s3Configuration) Sets the value ofCfnExperimentTemplate.ExperimentTemplateLogConfigurationProperty.getS3Configuration()
- Parameters:
s3Configuration
- The configuration for experiment logging to Amazon S3 .- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnExperimentTemplate.ExperimentTemplateLogConfigurationProperty>
- Returns:
- a new instance of
CfnExperimentTemplate.ExperimentTemplateLogConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-