Interface GetWorkflowExecutionHistoryResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<GetWorkflowExecutionHistoryResponse.Builder,GetWorkflowExecutionHistoryResponse>, SdkBuilder<GetWorkflowExecutionHistoryResponse.Builder,GetWorkflowExecutionHistoryResponse>, SdkPojo, SdkResponse.Builder, SwfResponse.Builder
Enclosing class:
GetWorkflowExecutionHistoryResponse

public static interface GetWorkflowExecutionHistoryResponse.Builder extends SwfResponse.Builder, SdkPojo, CopyableBuilder<GetWorkflowExecutionHistoryResponse.Builder,GetWorkflowExecutionHistoryResponse>
  • Method Details

    • events

      The list of history events.

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

      The list of history events.

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

      The list of history events.

      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:
    • nextPageToken

      If a NextPageToken was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token in nextPageToken . Keep all other arguments unchanged.

      The configured maximumPageSize determines how many results can be returned in a single call.

      Parameters:
      nextPageToken - If a NextPageToken was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token in nextPageToken. Keep all other arguments unchanged.

      The configured maximumPageSize determines how many results can be returned in a single call.

      Returns:
      Returns a reference to this object so that method calls can be chained together.