Class CfnPlan.WorkflowProperty.Builder
java.lang.Object
software.amazon.awscdk.services.arcregionswitch.CfnPlan.WorkflowProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPlan.WorkflowProperty>
- Enclosing interface:
CfnPlan.WorkflowProperty
@Stability(Stable)
public static final class CfnPlan.WorkflowProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPlan.WorkflowProperty>
A builder for
CfnPlan.WorkflowProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnPlan.WorkflowProperty.getSteps()steps(IResolvable steps) Sets the value ofCfnPlan.WorkflowProperty.getSteps()workflowDescription(String workflowDescription) Sets the value ofCfnPlan.WorkflowProperty.getWorkflowDescription()workflowTargetAction(String workflowTargetAction) Sets the value ofCfnPlan.WorkflowProperty.getWorkflowTargetAction()workflowTargetRegion(String workflowTargetRegion) Sets the value ofCfnPlan.WorkflowProperty.getWorkflowTargetRegion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
workflowTargetAction
@Stability(Stable) public CfnPlan.WorkflowProperty.Builder workflowTargetAction(String workflowTargetAction) Sets the value ofCfnPlan.WorkflowProperty.getWorkflowTargetAction()- Parameters:
workflowTargetAction- The action that the workflow performs. This parameter is required. Valid values include ACTIVATE and DEACTIVATE.- Returns:
this
-
steps
Sets the value ofCfnPlan.WorkflowProperty.getSteps()- Parameters:
steps- The steps that make up the workflow.- Returns:
this
-
steps
Sets the value ofCfnPlan.WorkflowProperty.getSteps()- Parameters:
steps- The steps that make up the workflow.- Returns:
this
-
workflowDescription
@Stability(Stable) public CfnPlan.WorkflowProperty.Builder workflowDescription(String workflowDescription) Sets the value ofCfnPlan.WorkflowProperty.getWorkflowDescription()- Parameters:
workflowDescription- The description of the workflow.- Returns:
this
-
workflowTargetRegion
@Stability(Stable) public CfnPlan.WorkflowProperty.Builder workflowTargetRegion(String workflowTargetRegion) Sets the value ofCfnPlan.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<CfnPlan.WorkflowProperty>- Returns:
- a new instance of
CfnPlan.WorkflowProperty - Throws:
NullPointerException- if any required attribute was not provided
-