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, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
ListEventSourcesResponse.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 that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #eventSources(List)
.eventSources
- a consumer that will call methods on List.Builder
#eventSources(List)
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.