Class PassProps.Builder
java.lang.Object
software.amazon.awscdk.services.stepfunctions.PassProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<PassProps>
- Enclosing interface:
- PassProps
@Stability(Stable)
public static final class PassProps.Builder
extends Object
implements software.amazon.jsii.Builder<PassProps>
A builder for
PassProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofPassProps.getComment()
Sets the value ofPassProps.getInputPath()
outputPath
(String outputPath) Sets the value ofPassProps.getOutputPath()
parameters
(Map<String, ? extends Object> parameters) Sets the value ofPassProps.getParameters()
Sets the value ofPassProps.getResult()
resultPath
(String resultPath) Sets the value ofPassProps.getResultPath()
Sets the value ofPassProps.getStateName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
comment
Sets the value ofPassProps.getComment()
- Parameters:
comment
- An optional description for this state.- Returns:
this
-
inputPath
Sets the value ofPassProps.getInputPath()
- Parameters:
inputPath
- JSONPath expression to select part of the state to be the input to this state. May also be the special value JsonPath.DISCARD, which will cause the effective input to be the empty object {}.- Returns:
this
-
outputPath
Sets the value ofPassProps.getOutputPath()
- Parameters:
outputPath
- JSONPath expression to select part of the state to be the output to this state. May also be the special value JsonPath.DISCARD, which will cause the effective output to be the empty object {}.- Returns:
this
-
parameters
Sets the value ofPassProps.getParameters()
- Parameters:
parameters
- Parameters pass a collection of key-value pairs, either static values or JSONPath expressions that select from the input.- Returns:
this
-
result
Sets the value ofPassProps.getResult()
- Parameters:
result
- If given, treat as the result of this operation. Can be used to inject or replace the current execution state.- Returns:
this
-
resultPath
Sets the value ofPassProps.getResultPath()
- Parameters:
resultPath
- JSONPath expression to indicate where to inject the state's output. May also be the special value JsonPath.DISCARD, which will cause the state's input to become its output.- Returns:
this
-
stateName
Sets the value ofPassProps.getStateName()
- Parameters:
stateName
- Optional name for this state.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<PassProps>
- Returns:
- a new instance of
PassProps
- Throws:
NullPointerException
- if any required attribute was not provided
-