Interface GetDurableExecutionStateResponse.Builder

    • Method Detail

      • operations

        GetDurableExecutionStateResponse.Builder operations​(Collection<Operation> operations)

        An array of operations that represent the current state of the durable execution. Operations are ordered by their start sequence number in ascending order and include information needed for replay processing.

        Parameters:
        operations - An array of operations that represent the current state of the durable execution. Operations are ordered by their start sequence number in ascending order and include information needed for replay processing.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • operations

        GetDurableExecutionStateResponse.Builder operations​(Operation... operations)

        An array of operations that represent the current state of the durable execution. Operations are ordered by their start sequence number in ascending order and include information needed for replay processing.

        Parameters:
        operations - An array of operations that represent the current state of the durable execution. Operations are ordered by their start sequence number in ascending order and include information needed for replay processing.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • operations

        GetDurableExecutionStateResponse.Builder operations​(Consumer<Operation.Builder>... operations)

        An array of operations that represent the current state of the durable execution. Operations are ordered by their start sequence number in ascending order and include information needed for replay processing.

        This is a convenience method that creates an instance of the Operation.Builder avoiding the need to create one manually via Operation.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #operations(List).

        Parameters:
        operations - a consumer that will call methods on Operation.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #operations(java.util.Collection)
      • nextMarker

        GetDurableExecutionStateResponse.Builder nextMarker​(String nextMarker)

        If present, indicates that more operations are available. Use this value as the Marker parameter in a subsequent request to retrieve the next page of results.

        Parameters:
        nextMarker - If present, indicates that more operations are available. Use this value as the Marker parameter in a subsequent request to retrieve the next page of results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.