Class Result
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.stepfunctions.Result
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-06T14:43:27.750Z")
@Stability(Stable)
public class Result
extends software.amazon.jsii.JsiiObject
The result of a Pass operation.
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);
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Result
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.getValue()
result of the Pass operation.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
Result
protected Result(software.amazon.jsii.JsiiObjectRef objRef) -
Result
protected Result(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
Result
- Parameters:
value
- result of the Pass operation. This parameter is required.
-
-
Method Details
-
fromArray
The result of the operation is an array.- Parameters:
value
- This parameter is required.
-
fromBoolean
The result of the operation is a boolean.- Parameters:
value
- This parameter is required.
-
fromNumber
The result of the operation is a number.- Parameters:
value
- This parameter is required.
-
fromObject
@Stability(Stable) @NotNull public static Result fromObject(@NotNull Map<String, ? extends Object> value) The result of the operation is an object.- Parameters:
value
- This parameter is required.
-
fromString
The result of the operation is a string.- Parameters:
value
- This parameter is required.
-
getValue
result of the Pass operation.
-