Class CfnExperimentTemplateProps.Builder
java.lang.Object
software.amazon.awscdk.services.fis.CfnExperimentTemplateProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnExperimentTemplateProps>
- Enclosing interface:
CfnExperimentTemplateProps
@Stability(Stable)
public static final class CfnExperimentTemplateProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnExperimentTemplateProps>
A builder for
CfnExperimentTemplateProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnExperimentTemplateProps.getActions()actions(IResolvable actions) Sets the value ofCfnExperimentTemplateProps.getActions()build()Builds the configured instance.description(String description) Sets the value ofCfnExperimentTemplateProps.getDescription()experimentOptions(IResolvable experimentOptions) Sets the value ofCfnExperimentTemplateProps.getExperimentOptions()experimentOptions(CfnExperimentTemplate.ExperimentTemplateExperimentOptionsProperty experimentOptions) Sets the value ofCfnExperimentTemplateProps.getExperimentOptions()experimentReportConfiguration(IResolvable experimentReportConfiguration) Sets the value ofCfnExperimentTemplateProps.getExperimentReportConfiguration()experimentReportConfiguration(CfnExperimentTemplate.ExperimentTemplateExperimentReportConfigurationProperty experimentReportConfiguration) Sets the value ofCfnExperimentTemplateProps.getExperimentReportConfiguration()logConfiguration(IResolvable logConfiguration) Sets the value ofCfnExperimentTemplateProps.getLogConfiguration()Sets the value ofCfnExperimentTemplateProps.getLogConfiguration()Sets the value ofCfnExperimentTemplateProps.getRoleArn()stopConditions(List<? extends Object> stopConditions) Sets the value ofCfnExperimentTemplateProps.getStopConditions()stopConditions(IResolvable stopConditions) Sets the value ofCfnExperimentTemplateProps.getStopConditions()Sets the value ofCfnExperimentTemplateProps.getTags()Sets the value ofCfnExperimentTemplateProps.getTargets()targets(IResolvable targets) Sets the value ofCfnExperimentTemplateProps.getTargets()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnExperimentTemplateProps.getDescription()- Parameters:
description- The description for the experiment template. This parameter is required.- Returns:
this
-
roleArn
Sets the value ofCfnExperimentTemplateProps.getRoleArn()- Parameters:
roleArn- The Amazon Resource Name (ARN) of an IAM role. This parameter is required.- Returns:
this
-
stopConditions
@Stability(Stable) public CfnExperimentTemplateProps.Builder stopConditions(IResolvable stopConditions) Sets the value ofCfnExperimentTemplateProps.getStopConditions()- Parameters:
stopConditions- The stop conditions for the experiment. This parameter is required.- Returns:
this
-
stopConditions
@Stability(Stable) public CfnExperimentTemplateProps.Builder stopConditions(List<? extends Object> stopConditions) Sets the value ofCfnExperimentTemplateProps.getStopConditions()- Parameters:
stopConditions- The stop conditions for the experiment. This parameter is required.- Returns:
this
-
targets
Sets the value ofCfnExperimentTemplateProps.getTargets()- Parameters:
targets- The targets for the experiment. This parameter is required.- Returns:
this
-
targets
@Stability(Stable) public CfnExperimentTemplateProps.Builder targets(Map<String, ? extends Object> targets) Sets the value ofCfnExperimentTemplateProps.getTargets()- Parameters:
targets- The targets for the experiment. This parameter is required.- Returns:
this
-
actions
Sets the value ofCfnExperimentTemplateProps.getActions()- Parameters:
actions- The actions for the experiment.- Returns:
this
-
actions
@Stability(Stable) public CfnExperimentTemplateProps.Builder actions(Map<String, ? extends Object> actions) Sets the value ofCfnExperimentTemplateProps.getActions()- Parameters:
actions- The actions for the experiment.- Returns:
this
-
experimentOptions
@Stability(Stable) public CfnExperimentTemplateProps.Builder experimentOptions(IResolvable experimentOptions) Sets the value ofCfnExperimentTemplateProps.getExperimentOptions()- Parameters:
experimentOptions- The experiment options for an experiment template.- Returns:
this
-
experimentOptions
@Stability(Stable) public CfnExperimentTemplateProps.Builder experimentOptions(CfnExperimentTemplate.ExperimentTemplateExperimentOptionsProperty experimentOptions) Sets the value ofCfnExperimentTemplateProps.getExperimentOptions()- Parameters:
experimentOptions- The experiment options for an experiment template.- Returns:
this
-
experimentReportConfiguration
@Stability(Stable) public CfnExperimentTemplateProps.Builder experimentReportConfiguration(IResolvable experimentReportConfiguration) Sets the value ofCfnExperimentTemplateProps.getExperimentReportConfiguration()- Parameters:
experimentReportConfiguration- Describes the report configuration for the experiment template.- Returns:
this
-
experimentReportConfiguration
@Stability(Stable) public CfnExperimentTemplateProps.Builder experimentReportConfiguration(CfnExperimentTemplate.ExperimentTemplateExperimentReportConfigurationProperty experimentReportConfiguration) Sets the value ofCfnExperimentTemplateProps.getExperimentReportConfiguration()- Parameters:
experimentReportConfiguration- Describes the report configuration for the experiment template.- Returns:
this
-
logConfiguration
@Stability(Stable) public CfnExperimentTemplateProps.Builder logConfiguration(IResolvable logConfiguration) Sets the value ofCfnExperimentTemplateProps.getLogConfiguration()- Parameters:
logConfiguration- The configuration for experiment logging.- Returns:
this
-
logConfiguration
@Stability(Stable) public CfnExperimentTemplateProps.Builder logConfiguration(CfnExperimentTemplate.ExperimentTemplateLogConfigurationProperty logConfiguration) Sets the value ofCfnExperimentTemplateProps.getLogConfiguration()- Parameters:
logConfiguration- The configuration for experiment logging.- Returns:
this
-
tags
Sets the value ofCfnExperimentTemplateProps.getTags()- Parameters:
tags- The tags for the experiment template.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnExperimentTemplateProps>- Returns:
- a new instance of
CfnExperimentTemplateProps - Throws:
NullPointerException- if any required attribute was not provided
-