BuilderT
- Type of concrete builder (for method chaining).public interface ParametersBuilder<BuilderT>
This interface should not be implemented outside the SDK.
Modifier and Type | Method and Description |
---|---|
BuilderT |
parameters(Object parameters)
OPTIONAL.
|
BuilderT |
parameters(String parameters)
OPTIONAL.
|
BuilderT parameters(String parameters)
{
...
"Parameters": {
"flagged": true,
"parts": {
"first.$": "$.vals[0]",
"last3.$": "$.vals[3:]"
}
}
...
}
And suppose that the input to the state is as follows:
{
"flagged": 7,
"vals": [0, 10, 20, 30, 40, 50]
}
Then the effective input to the task will be as follows:
{
"flagged": true,
"parts": {
"first": 0,
"last3": [30, 40, 50]
}
}
parameters
- Raw JSON string representing Parameters value.BuilderT parameters(Object parameters)
{
...
"Parameters": {
"flagged": true,
"parts": {
"first.$": "$.vals[0]",
"last3.$": "$.vals[3:]"
}
}
...
}
And suppose that the input to the state is as follows:
{
"flagged": 7,
"vals": [0, 10, 20, 30, 40, 50]
}
Then the effective input to the task will be as follows:
{
"flagged": true,
"parts": {
"first": 0,
"last3": [30, 40, 50]
}
}
parameters
- Object that will be serialized into the JSON document representing this states parameters.