Constructor and Description |
---|
Builder()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
TaskProps |
build()
Deprecated.
|
TaskProps.Builder |
comment(java.lang.String comment)
Deprecated.
|
TaskProps.Builder |
inputPath(java.lang.String inputPath)
Deprecated.
|
TaskProps.Builder |
outputPath(java.lang.String outputPath)
Deprecated.
|
TaskProps.Builder |
parameters(java.util.Map<java.lang.String,? extends java.lang.Object> parameters)
Deprecated.
|
TaskProps.Builder |
resultPath(java.lang.String resultPath)
Deprecated.
|
TaskProps.Builder |
task(IStepFunctionsTask task)
Deprecated.
|
TaskProps.Builder |
timeout(Duration timeout)
Deprecated.
|
@Deprecated public TaskProps.Builder task(IStepFunctionsTask task)
TaskProps.getTask()
task
- Actual task to be invoked in this workflow. This parameter is required.this
@Deprecated public TaskProps.Builder comment(java.lang.String comment)
TaskProps.getComment()
comment
- An optional description for this state.this
@Deprecated public TaskProps.Builder inputPath(java.lang.String inputPath)
TaskProps.getInputPath()
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 {}.this
@Deprecated public TaskProps.Builder outputPath(java.lang.String outputPath)
TaskProps.getOutputPath()
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 {}.this
@Deprecated public TaskProps.Builder parameters(java.util.Map<java.lang.String,? extends java.lang.Object> parameters)
TaskProps.getParameters()
parameters
- Parameters to invoke the task with.
It is not recommended to use this field. The object that is passed in
the task
property will take care of returning the right values for the
Parameters
field in the Step Functions definition.
The various classes that implement IStepFunctionsTask
will take a
properties which make sense for the task type. For example, for
InvokeFunction
the field that populates the parameters
field will be
called payload
, and for the PublishToTopic
the parameters
field
will be populated via a combination of the referenced topic, subject and
message.
If passed anyway, the keys in this map will override the parameters returned by the task object.
this
@Deprecated public TaskProps.Builder resultPath(java.lang.String resultPath)
TaskProps.getResultPath()
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.this
@Deprecated public TaskProps.Builder timeout(Duration timeout)
TaskProps.getTimeout()
timeout
- Maximum run time of this state.
If the state takes longer than this amount of time to complete, a 'Timeout' error is raised.this