Class CfnExperimentTemplate.ExperimentTemplateActionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.fis.CfnExperimentTemplate.ExperimentTemplateActionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnExperimentTemplate.ExperimentTemplateActionProperty>
- Enclosing interface:
CfnExperimentTemplate.ExperimentTemplateActionProperty
@Stability(Stable)
public static final class CfnExperimentTemplate.ExperimentTemplateActionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnExperimentTemplate.ExperimentTemplateActionProperty>
A builder for
CfnExperimentTemplate.ExperimentTemplateActionProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnExperimentTemplate.ExperimentTemplateActionProperty.getActionId()
build()
Builds the configured instance.description
(String description) Sets the value ofCfnExperimentTemplate.ExperimentTemplateActionProperty.getDescription()
parameters
(Map<String, String> parameters) Sets the value ofCfnExperimentTemplate.ExperimentTemplateActionProperty.getParameters()
parameters
(IResolvable parameters) Sets the value ofCfnExperimentTemplate.ExperimentTemplateActionProperty.getParameters()
startAfter
(List<String> startAfter) Sets the value ofCfnExperimentTemplate.ExperimentTemplateActionProperty.getStartAfter()
Sets the value ofCfnExperimentTemplate.ExperimentTemplateActionProperty.getTargets()
targets
(IResolvable targets) Sets the value ofCfnExperimentTemplate.ExperimentTemplateActionProperty.getTargets()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
actionId
@Stability(Stable) public CfnExperimentTemplate.ExperimentTemplateActionProperty.Builder actionId(String actionId) Sets the value ofCfnExperimentTemplate.ExperimentTemplateActionProperty.getActionId()
- Parameters:
actionId
- The ID of the action. This parameter is required.- Returns:
this
-
description
@Stability(Stable) public CfnExperimentTemplate.ExperimentTemplateActionProperty.Builder description(String description) Sets the value ofCfnExperimentTemplate.ExperimentTemplateActionProperty.getDescription()
- Parameters:
description
- A description for the action.- Returns:
this
-
parameters
@Stability(Stable) public CfnExperimentTemplate.ExperimentTemplateActionProperty.Builder parameters(IResolvable parameters) Sets the value ofCfnExperimentTemplate.ExperimentTemplateActionProperty.getParameters()
- Parameters:
parameters
- The parameters for the action.- Returns:
this
-
parameters
@Stability(Stable) public CfnExperimentTemplate.ExperimentTemplateActionProperty.Builder parameters(Map<String, String> parameters) Sets the value ofCfnExperimentTemplate.ExperimentTemplateActionProperty.getParameters()
- Parameters:
parameters
- The parameters for the action.- Returns:
this
-
startAfter
@Stability(Stable) public CfnExperimentTemplate.ExperimentTemplateActionProperty.Builder startAfter(List<String> startAfter) Sets the value ofCfnExperimentTemplate.ExperimentTemplateActionProperty.getStartAfter()
- Parameters:
startAfter
- The name of the action that must be completed before the current action starts.- Returns:
this
-
targets
@Stability(Stable) public CfnExperimentTemplate.ExperimentTemplateActionProperty.Builder targets(IResolvable targets) Sets the value ofCfnExperimentTemplate.ExperimentTemplateActionProperty.getTargets()
- Parameters:
targets
- The targets for the action.- Returns:
this
-
targets
@Stability(Stable) public CfnExperimentTemplate.ExperimentTemplateActionProperty.Builder targets(Map<String, String> targets) Sets the value ofCfnExperimentTemplate.ExperimentTemplateActionProperty.getTargets()
- Parameters:
targets
- The targets for the action.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnExperimentTemplate.ExperimentTemplateActionProperty>
- Returns:
- a new instance of
CfnExperimentTemplate.ExperimentTemplateActionProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-