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