Interface ListInvocationStepsResponse.Builder

  • Method Details

    • invocationStepSummaries

      ListInvocationStepsResponse.Builder invocationStepSummaries(Collection<InvocationStepSummary> invocationStepSummaries)

      A list of summaries for each invocation step associated with a session and if you specified it, an invocation within the session.

      Parameters:
      invocationStepSummaries - A list of summaries for each invocation step associated with a session and if you specified it, an invocation within the session.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • invocationStepSummaries

      ListInvocationStepsResponse.Builder invocationStepSummaries(InvocationStepSummary... invocationStepSummaries)

      A list of summaries for each invocation step associated with a session and if you specified it, an invocation within the session.

      Parameters:
      invocationStepSummaries - A list of summaries for each invocation step associated with a session and if you specified it, an invocation within the session.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • invocationStepSummaries

      ListInvocationStepsResponse.Builder invocationStepSummaries(Consumer<InvocationStepSummary.Builder>... invocationStepSummaries)

      A list of summaries for each invocation step associated with a session and if you specified it, an invocation within the session.

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

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

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

      If the total number of results is greater than the maxResults value provided in the request, use this token when making another request in the nextToken field to return the next batch of results.

      Parameters:
      nextToken - If the total number of results is greater than the maxResults value provided in the request, use this token when making another request in the nextToken field to return the next batch of results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.