public static interface ListEventSourcesResponse.Builder extends EventBridgeResponse.Builder, SdkPojo, CopyableBuilder<ListEventSourcesResponse.Builder,ListEventSourcesResponse>
| Modifier and Type | Method and Description |
|---|---|
ListEventSourcesResponse.Builder |
eventSources(Collection<EventSource> eventSources)
The list of event sources.
|
ListEventSourcesResponse.Builder |
eventSources(Consumer<EventSource.Builder>... eventSources)
The list of event sources.
|
ListEventSourcesResponse.Builder |
eventSources(EventSource... eventSources)
The list of event sources.
|
ListEventSourcesResponse.Builder |
nextToken(String nextToken)
A token you can use in a subsequent operation to retrieve the next set of results.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListEventSourcesResponse.Builder eventSources(Collection<EventSource> eventSources)
The list of event sources.
eventSources - The list of event sources.ListEventSourcesResponse.Builder eventSources(EventSource... eventSources)
The list of event sources.
eventSources - The list of event sources.ListEventSourcesResponse.Builder eventSources(Consumer<EventSource.Builder>... eventSources)
The list of event sources.
This is a convenience method that creates an instance of theEventSource.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.
eventSources - a consumer that will call methods on
EventSource.Builder#eventSources(java.util.Collection) ListEventSourcesResponse.Builder nextToken(String nextToken)
A token you can use in a subsequent operation to retrieve the next set of results.
nextToken - A token you can use in a subsequent operation to retrieve the next set of results.Copyright © 2022. All rights reserved.