@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)",
date="2023-03-14T16:25:29.084Z")
public class Result
extends software.amazon.jsii.JsiiObject
Example:
// Makes the current JSON state { ..., "subObject": { "hello": "world" } } Pass pass = Pass.Builder.create(this, "Add Hello World") .result(Result.fromObject(Map.of("hello", "world"))) .resultPath("$.subObject") .build(); // Set the next state Pass nextState = new Pass(this, "NextState"); pass.next(nextState);
Modifier | Constructor and Description |
---|---|
protected |
Result(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
Result(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
static Result |
fromArray(java.util.List<? extends java.lang.Object> value)
The result of the operation is an array.
|
static Result |
fromBoolean(java.lang.Boolean value)
The result of the operation is a boolean.
|
static Result |
fromNumber(java.lang.Number value)
The result of the operation is a number.
|
static Result |
fromObject(java.util.Map<java.lang.String,? extends java.lang.Object> value)
The result of the operation is an object.
|
static Result |
fromString(java.lang.String value)
The result of the operation is a string.
|
java.lang.Object |
getValue()
result of the Pass operation.
|
protected Result(software.amazon.jsii.JsiiObjectRef objRef)
protected Result(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public static Result fromArray(java.util.List<? extends java.lang.Object> value)
value
- This parameter is required.public static Result fromBoolean(java.lang.Boolean value)
value
- This parameter is required.public static Result fromNumber(java.lang.Number value)
value
- This parameter is required.public static Result fromObject(java.util.Map<java.lang.String,? extends java.lang.Object> value)
value
- This parameter is required.public static Result fromString(java.lang.String value)
value
- This parameter is required.public java.lang.Object getValue()