Interface GetExecutionHistoryResponse.Builder

  • Method Details

    • events

      The list of events that occurred in the execution.

      Parameters:
      events - The list of events that occurred in the execution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • events

      The list of events that occurred in the execution.

      Parameters:
      events - The list of events that occurred in the execution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • events

      The list of events that occurred in the execution.

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

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

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

      If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.

      Parameters:
      nextToken - If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.
      Returns:
      Returns a reference to this object so that method calls can be chained together.