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.84.0 (build 5404dcf)",
date="2023-06-19T16:30:39.928Z")
@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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ResultThe result of the operation is an array.static ResultfromBoolean(Boolean value) The result of the operation is a boolean.static ResultfromNumber(Number value) The result of the operation is a number.static ResultfromObject(Map<String, ? extends Object> value) The result of the operation is an object.static ResultfromString(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, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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.
-