@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:38.432Z") @Stability(value=Experimental) public class TaskInput extends software.amazon.jsii.JsiiObject
| 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)
(experimental) Use a part of the task context as task input.
|
static TaskInput |
fromDataAt(String path)
(experimental) Use a part of the execution data as task input.
|
static TaskInput |
fromJsonPathAt(String path)
(experimental) Use a part of the execution data or task context as task input.
|
static TaskInput |
fromObject(Map<String,? extends Object> obj)
(experimental) Use an object as task input.
|
static TaskInput |
fromText(String text)
(experimental) Use a literal string as task input.
|
InputType |
getType()
(experimental) type of task input.
|
Object |
getValue()
(experimental) payload for the corresponding input type.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, 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.
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.
path - This parameter is required.@Stability(value=Experimental) @NotNull public static TaskInput fromJsonPathAt(@NotNull String path)
Use this when you want to use a subobject or string from the current state machine execution or the current task context as complete payload to a task.
path - This parameter is required.@Stability(value=Experimental) @NotNull public static TaskInput fromObject(@NotNull Map<String,? extends Object> obj)
This object may contain Data and Context fields as object values, if desired.
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.
text - This parameter is required.@Stability(value=Experimental) @NotNull public InputType getType()
@Stability(value=Experimental) @NotNull public Object getValue()
It can be a JSON-encoded object, context, data, etc.
Copyright © 2021. All rights reserved.