Interface GetDurableExecutionHistoryResponse.Builder

  • Method Details

    • events

      An array of execution history events, ordered chronologically unless ReverseOrder is set to true. Each event represents a significant occurrence during the execution, such as step completion or callback resolution.

      Parameters:
      events - An array of execution history events, ordered chronologically unless ReverseOrder is set to true. Each event represents a significant occurrence during the execution, such as step completion or callback resolution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • events

      An array of execution history events, ordered chronologically unless ReverseOrder is set to true. Each event represents a significant occurrence during the execution, such as step completion or callback resolution.

      Parameters:
      events - An array of execution history events, ordered chronologically unless ReverseOrder is set to true. Each event represents a significant occurrence during the execution, such as step completion or callback resolution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • events

      An array of execution history events, ordered chronologically unless ReverseOrder is set to true. Each event represents a significant occurrence during the execution, such as step completion or callback resolution.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to events(List<Event>).

      Parameters:
      events - a consumer that will call methods on Event.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • nextMarker

      If present, indicates that more history events 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 history events 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.