Interface ListEventSourcesResponse.Builder

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

  • Method Details

    • eventSources

      The list of event sources.

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

      ListEventSourcesResponse.Builder eventSources(EventSource... eventSources)

      The list of event sources.

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

      The list of event sources.

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

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

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

      A token indicating there are more results available. If there are no more results, no token is included in the response.

      The value of nextToken is a unique pagination token for each page. To retrieve the next page of results, make the call again using the returned token. Keep all other arguments unchanged.

      Using an expired pagination token results in an HTTP 400 InvalidToken error.

      Parameters:
      nextToken - A token indicating there are more results available. If there are no more results, no token is included in the response.

      The value of nextToken is a unique pagination token for each page. To retrieve the next page of results, make the call again using the returned token. Keep all other arguments unchanged.

      Using an expired pagination token results in an HTTP 400 InvalidToken error.

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