public static interface ListEventSourceMappingsResponse.Builder extends LambdaResponse.Builder, SdkPojo, CopyableBuilder<ListEventSourceMappingsResponse.Builder,ListEventSourceMappingsResponse>
Modifier and Type | Method and Description |
---|---|
ListEventSourceMappingsResponse.Builder |
eventSourceMappings(Collection<EventSourceMappingConfiguration> eventSourceMappings)
A list of event source mappings.
|
ListEventSourceMappingsResponse.Builder |
eventSourceMappings(Consumer<EventSourceMappingConfiguration.Builder>... eventSourceMappings)
A list of event source mappings.
|
ListEventSourceMappingsResponse.Builder |
eventSourceMappings(EventSourceMappingConfiguration... eventSourceMappings)
A list of event source mappings.
|
ListEventSourceMappingsResponse.Builder |
nextMarker(String nextMarker)
A pagination token that's returned when the response doesn't contain all event source mappings.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
ListEventSourceMappingsResponse.Builder nextMarker(String nextMarker)
A pagination token that's returned when the response doesn't contain all event source mappings.
nextMarker
- A pagination token that's returned when the response doesn't contain all event source mappings.ListEventSourceMappingsResponse.Builder eventSourceMappings(Collection<EventSourceMappingConfiguration> eventSourceMappings)
A list of event source mappings.
eventSourceMappings
- A list of event source mappings.ListEventSourceMappingsResponse.Builder eventSourceMappings(EventSourceMappingConfiguration... eventSourceMappings)
A list of event source mappings.
eventSourceMappings
- A list of event source mappings.ListEventSourceMappingsResponse.Builder eventSourceMappings(Consumer<EventSourceMappingConfiguration.Builder>... eventSourceMappings)
A list of event source mappings.
This is a convenience method that creates an instance of theEventSourceMappingConfiguration.Builder
avoiding the
need to create one manually via
EventSourceMappingConfiguration.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is
called immediately and its result is passed to #eventSourceMappings(List
.
eventSourceMappings
- a consumer that will call methods on
EventSourceMappingConfiguration.Builder
#eventSourceMappings(java.util.Collection)
Copyright © 2022. All rights reserved.