Interface SearchEventsResponse.Builder

  • Method Details

    • events

      The matching event chunks, in the order sort requests, or most relevant first when it has none. Empty when nothing matches. Each result is the matching chunk of an event. Call GetEvent for the whole event.

      Parameters:
      events - The matching event chunks, in the order sort requests, or most relevant first when it has none. Empty when nothing matches. Each result is the matching chunk of an event. Call GetEvent for the whole event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • events

      The matching event chunks, in the order sort requests, or most relevant first when it has none. Empty when nothing matches. Each result is the matching chunk of an event. Call GetEvent for the whole event.

      Parameters:
      events - The matching event chunks, in the order sort requests, or most relevant first when it has none. Empty when nothing matches. Each result is the matching chunk of an event. Call GetEvent for the whole event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • events

      The matching event chunks, in the order sort requests, or most relevant first when it has none. Empty when nothing matches. Each result is the matching chunk of an event. Call GetEvent for the whole event.

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

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

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

      SearchEventsResponse.Builder nextToken(String nextToken)

      The token for the next set of results. Absent when there are no more results.

      Parameters:
      nextToken - The token for the next set of results. Absent when there are no more results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.