Class StepFunctionsInvokeActionProps.Builder
java.lang.Object
software.amazon.awscdk.services.codepipeline.actions.StepFunctionsInvokeActionProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<StepFunctionsInvokeActionProps>
- Enclosing interface:
- StepFunctionsInvokeActionProps
@Stability(Stable)
public static final class StepFunctionsInvokeActionProps.Builder
extends Object
implements software.amazon.jsii.Builder<StepFunctionsInvokeActionProps>
A builder for
StepFunctionsInvokeActionProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionactionName
(String actionName) Sets the value ofCommonActionProps.getActionName()
build()
Builds the configured instance.executionNamePrefix
(String executionNamePrefix) Sets the value ofStepFunctionsInvokeActionProps.getExecutionNamePrefix()
Sets the value ofStepFunctionsInvokeActionProps.getOutput()
Sets the value ofCommonAwsActionProps.getRole()
Sets the value ofCommonActionProps.getRunOrder()
stateMachine
(IStateMachine stateMachine) Sets the value ofStepFunctionsInvokeActionProps.getStateMachine()
stateMachineInput
(StateMachineInput stateMachineInput) Sets the value ofStepFunctionsInvokeActionProps.getStateMachineInput()
variablesNamespace
(String variablesNamespace) Sets the value ofCommonActionProps.getVariablesNamespace()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
stateMachine
@Stability(Stable) public StepFunctionsInvokeActionProps.Builder stateMachine(IStateMachine stateMachine) Sets the value ofStepFunctionsInvokeActionProps.getStateMachine()
- Parameters:
stateMachine
- The state machine to invoke. This parameter is required.- Returns:
this
-
executionNamePrefix
@Stability(Stable) public StepFunctionsInvokeActionProps.Builder executionNamePrefix(String executionNamePrefix) Sets the value ofStepFunctionsInvokeActionProps.getExecutionNamePrefix()
- Parameters:
executionNamePrefix
- Prefix (optional). By default, the action execution ID is used as the state machine execution name. If a prefix is provided, it is prepended to the action execution ID with a hyphen and together used as the state machine execution name.- Returns:
this
-
output
Sets the value ofStepFunctionsInvokeActionProps.getOutput()
- Parameters:
output
- The optional output Artifact of the Action.- Returns:
this
-
stateMachineInput
@Stability(Stable) public StepFunctionsInvokeActionProps.Builder stateMachineInput(StateMachineInput stateMachineInput) Sets the value ofStepFunctionsInvokeActionProps.getStateMachineInput()
- Parameters:
stateMachineInput
- Represents the input to the StateMachine. This includes input artifact, input type and the statemachine input.- Returns:
this
-
role
Sets the value ofCommonAwsActionProps.getRole()
- Parameters:
role
- The Role in which context's this Action will be executing in. The Pipeline's Role will assume this Role (the required permissions for that will be granted automatically) right before executing this Action. This Action will be passed into yourIAction.bind
method in theActionBindOptions.role
property.- Returns:
this
-
actionName
Sets the value ofCommonActionProps.getActionName()
- Parameters:
actionName
- The physical, human-readable name of the Action. This parameter is required. Note that Action names must be unique within a single Stage.- Returns:
this
-
runOrder
Sets the value ofCommonActionProps.getRunOrder()
- Parameters:
runOrder
- The runOrder property for this Action. RunOrder determines the relative order in which multiple Actions in the same Stage execute.- Returns:
this
-
variablesNamespace
@Stability(Stable) public StepFunctionsInvokeActionProps.Builder variablesNamespace(String variablesNamespace) Sets the value ofCommonActionProps.getVariablesNamespace()
- Parameters:
variablesNamespace
- The name of the namespace to use for variables emitted by this action.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<StepFunctionsInvokeActionProps>
- Returns:
- a new instance of
StepFunctionsInvokeActionProps
- Throws:
NullPointerException
- if any required attribute was not provided
-