Class CfnPlanPropsMixin.WorkflowProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.arcregionswitch.CfnPlanPropsMixin.WorkflowProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPlanPropsMixin.WorkflowProperty>
- Enclosing interface:
CfnPlanPropsMixin.WorkflowProperty
@Stability(Stable)
public static final class CfnPlanPropsMixin.WorkflowProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPlanPropsMixin.WorkflowProperty>
A builder for
CfnPlanPropsMixin.WorkflowProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnPlanPropsMixin.WorkflowProperty.getSteps()steps(IResolvable steps) Sets the value ofCfnPlanPropsMixin.WorkflowProperty.getSteps()workflowDescription(String workflowDescription) Sets the value ofCfnPlanPropsMixin.WorkflowProperty.getWorkflowDescription()workflowTargetAction(String workflowTargetAction) Sets the value ofCfnPlanPropsMixin.WorkflowProperty.getWorkflowTargetAction()workflowTargetRegion(String workflowTargetRegion) Sets the value ofCfnPlanPropsMixin.WorkflowProperty.getWorkflowTargetRegion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
steps
Sets the value ofCfnPlanPropsMixin.WorkflowProperty.getSteps()- Parameters:
steps- The steps that make up the workflow.- Returns:
this
-
steps
@Stability(Stable) public CfnPlanPropsMixin.WorkflowProperty.Builder steps(List<? extends Object> steps) Sets the value ofCfnPlanPropsMixin.WorkflowProperty.getSteps()- Parameters:
steps- The steps that make up the workflow.- Returns:
this
-
workflowDescription
@Stability(Stable) public CfnPlanPropsMixin.WorkflowProperty.Builder workflowDescription(String workflowDescription) Sets the value ofCfnPlanPropsMixin.WorkflowProperty.getWorkflowDescription()- Parameters:
workflowDescription- The description of the workflow.- Returns:
this
-
workflowTargetAction
@Stability(Stable) public CfnPlanPropsMixin.WorkflowProperty.Builder workflowTargetAction(String workflowTargetAction) Sets the value ofCfnPlanPropsMixin.WorkflowProperty.getWorkflowTargetAction()- Parameters:
workflowTargetAction- The action that the workflow performs. Valid values include ACTIVATE and DEACTIVATE.- Returns:
this
-
workflowTargetRegion
@Stability(Stable) public CfnPlanPropsMixin.WorkflowProperty.Builder workflowTargetRegion(String workflowTargetRegion) Sets the value ofCfnPlanPropsMixin.WorkflowProperty.getWorkflowTargetRegion()- Parameters:
workflowTargetRegion- The AWS Region that the workflow targets.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPlanPropsMixin.WorkflowProperty>- Returns:
- a new instance of
CfnPlanPropsMixin.WorkflowProperty - Throws:
NullPointerException- if any required attribute was not provided
-