Class CfnPlan.StepProperty.Builder
java.lang.Object
software.amazon.awscdk.services.arcregionswitch.CfnPlan.StepProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPlan.StepProperty>
- Enclosing interface:
CfnPlan.StepProperty
@Stability(Stable)
public static final class CfnPlan.StepProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPlan.StepProperty>
A builder for
CfnPlan.StepProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.description
(String description) Sets the value ofCfnPlan.StepProperty.getDescription()
executionBlockConfiguration
(IResolvable executionBlockConfiguration) Sets the value ofCfnPlan.StepProperty.getExecutionBlockConfiguration()
executionBlockConfiguration
(CfnPlan.ExecutionBlockConfigurationProperty executionBlockConfiguration) Sets the value ofCfnPlan.StepProperty.getExecutionBlockConfiguration()
executionBlockType
(String executionBlockType) Sets the value ofCfnPlan.StepProperty.getExecutionBlockType()
Sets the value ofCfnPlan.StepProperty.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
executionBlockConfiguration
@Stability(Stable) public CfnPlan.StepProperty.Builder executionBlockConfiguration(IResolvable executionBlockConfiguration) Sets the value ofCfnPlan.StepProperty.getExecutionBlockConfiguration()
- Parameters:
executionBlockConfiguration
- The configuration for an execution block in a workflow. This parameter is required.- Returns:
this
-
executionBlockConfiguration
@Stability(Stable) public CfnPlan.StepProperty.Builder executionBlockConfiguration(CfnPlan.ExecutionBlockConfigurationProperty executionBlockConfiguration) Sets the value ofCfnPlan.StepProperty.getExecutionBlockConfiguration()
- Parameters:
executionBlockConfiguration
- The configuration for an execution block in a workflow. This parameter is required.- Returns:
this
-
executionBlockType
@Stability(Stable) public CfnPlan.StepProperty.Builder executionBlockType(String executionBlockType) Sets the value ofCfnPlan.StepProperty.getExecutionBlockType()
- Parameters:
executionBlockType
- The type of an execution block in a workflow. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnPlan.StepProperty.getName()
- Parameters:
name
- The name of a step in a workflow. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnPlan.StepProperty.getDescription()
- Parameters:
description
- The description of a step in a workflow.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPlan.StepProperty>
- Returns:
- a new instance of
CfnPlan.StepProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-