@Generated(value="jsii-pacmak/1.5.0 (build 46538f8)", date="2020-05-15T23:35:58.931Z") @Stability(value=Experimental) public class TaskInput extends software.amazon.jsii.JsiiObject
EXPERIMENTAL
| Modifier | Constructor and Description |
|---|---|
protected |
TaskInput(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
TaskInput(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
static TaskInput |
fromContextAt(String path)
Use a part of the task context as task input.
|
static TaskInput |
fromDataAt(String path)
Use a part of the execution data as task input.
|
static TaskInput |
fromObject(Map<String,Object> obj)
Use an object as task input.
|
static TaskInput |
fromText(String text)
Use a literal string as task input.
|
InputType |
getType()
type of task input.
|
Object |
getValue()
payload for the corresponding input type.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSetprotected TaskInput(software.amazon.jsii.JsiiObjectRef objRef)
protected TaskInput(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental) @NotNull public static TaskInput fromContextAt(@NotNull String path)
Use this when you want to use a subobject or string from the current task context as complete payload to a task.
EXPERIMENTAL
path - This parameter is required.@Stability(value=Experimental) @NotNull public static TaskInput fromDataAt(@NotNull String path)
Use this when you want to use a subobject or string from the current state machine execution as complete payload to a task.
EXPERIMENTAL
path - This parameter is required.@Stability(value=Experimental) @NotNull public static TaskInput fromObject(@NotNull Map<String,Object> obj)
This object may contain Data and Context fields as object values, if desired.
EXPERIMENTAL
obj - This parameter is required.@Stability(value=Experimental) @NotNull public static TaskInput fromText(@NotNull String text)
This might be a JSON-encoded object, or just a text.
EXPERIMENTAL
text - This parameter is required.@Stability(value=Experimental) @NotNull public InputType getType()
EXPERIMENTAL
@Stability(value=Experimental) @NotNull public Object getValue()
It can be a JSON-encoded object, context, data, etc.
EXPERIMENTAL
Copyright © 2020. All rights reserved.