@Generated(value="jsii-pacmak/1.54.0 (build b1b977a)", date="2022-02-19T00:19:34.324Z") @Stability(value=Stable) 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) |
protected |
Result(Object value) |
| Modifier and Type | Method and Description |
|---|---|
static Result |
fromArray(List<? extends Object> value)
The result of the operation is an array.
|
static Result |
fromBoolean(Boolean value)
The result of the operation is a boolean.
|
static Result |
fromNumber(Number value)
The result of the operation is a number.
|
static Result |
fromObject(Map<String,? extends Object> value)
The result of the operation is an object.
|
static Result |
fromString(String value)
The result of the operation is a string.
|
Object |
getValue()
result of the Pass operation.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected Result(software.amazon.jsii.JsiiObjectRef objRef)
protected Result(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
protected Result(@NotNull
Object value)
value - result of the Pass operation. This parameter is required.@Stability(value=Stable) @NotNull public static Result fromArray(@NotNull List<? extends Object> value)
value - This parameter is required.@Stability(value=Stable) @NotNull public static Result fromBoolean(@NotNull Boolean value)
value - This parameter is required.@Stability(value=Stable) @NotNull public static Result fromNumber(@NotNull Number value)
value - This parameter is required.@Stability(value=Stable) @NotNull public static Result fromObject(@NotNull Map<String,? extends Object> value)
value - This parameter is required.@Stability(value=Stable) @NotNull public static Result fromString(@NotNull String value)
value - This parameter is required.@Stability(value=Stable) @NotNull public Object getValue()
Copyright © 2022. All rights reserved.