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

    Constructors
    Modifier
    Constructor
    Description
    protected
    Result(Object value)
     
    protected
    Result(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    Result(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static Result
    fromArray(List<? extends Object> value)
    The result of the operation is an array.
    static Result
    The result of the operation is a boolean.
    static Result
    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
    The result of the operation is a string.
    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

      @Stability(Stable) protected Result(@NotNull Object value)
      Parameters:
      value - result of the Pass operation. This parameter is required.
  • Method Details

    • fromArray

      @Stability(Stable) @NotNull public static Result fromArray(@NotNull List<? extends Object> value)
      The result of the operation is an array.

      Parameters:
      value - This parameter is required.
    • fromBoolean

      @Stability(Stable) @NotNull public static Result fromBoolean(@NotNull Boolean value)
      The result of the operation is a boolean.

      Parameters:
      value - This parameter is required.
    • fromNumber

      @Stability(Stable) @NotNull public static Result fromNumber(@NotNull Number value)
      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

      @Stability(Stable) @NotNull public static Result fromString(@NotNull String value)
      The result of the operation is a string.

      Parameters:
      value - This parameter is required.
    • getValue

      @Stability(Stable) @NotNull public Object getValue()
      result of the Pass operation.