Interface ListEventSourceMappingsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListEventSourceMappingsResponse.Builder,,ListEventSourceMappingsResponse> LambdaResponse.Builder,SdkBuilder<ListEventSourceMappingsResponse.Builder,,ListEventSourceMappingsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListEventSourceMappingsResponse
@Mutable
@NotThreadSafe
public static interface ListEventSourceMappingsResponse.Builder
extends LambdaResponse.Builder, SdkPojo, CopyableBuilder<ListEventSourceMappingsResponse.Builder,ListEventSourceMappingsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioneventSourceMappings(Collection<EventSourceMappingConfiguration> eventSourceMappings) A list of event source mappings.eventSourceMappings(Consumer<EventSourceMappingConfiguration.Builder>... eventSourceMappings) A list of event source mappings.eventSourceMappings(EventSourceMappingConfiguration... eventSourceMappings) A list of event source mappings.nextMarker(String nextMarker) A pagination token that's returned when the response doesn't contain all event source mappings.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lambda.model.LambdaResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextMarker
A pagination token that's returned when the response doesn't contain all event source mappings.
- Parameters:
nextMarker- A pagination token that's returned when the response doesn't contain all event source mappings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventSourceMappings
ListEventSourceMappingsResponse.Builder eventSourceMappings(Collection<EventSourceMappingConfiguration> eventSourceMappings) A list of event source mappings.
- Parameters:
eventSourceMappings- A list of event source mappings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventSourceMappings
ListEventSourceMappingsResponse.Builder eventSourceMappings(EventSourceMappingConfiguration... eventSourceMappings) A list of event source mappings.
- Parameters:
eventSourceMappings- A list of event source mappings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventSourceMappings
ListEventSourceMappingsResponse.Builder eventSourceMappings(Consumer<EventSourceMappingConfiguration.Builder>... eventSourceMappings) A list of event source mappings.
This is a convenience method that creates an instance of theEventSourceMappingConfiguration.Builderavoiding the need to create one manually viaEventSourceMappingConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toeventSourceMappings(List<EventSourceMappingConfiguration>).- Parameters:
eventSourceMappings- a consumer that will call methods onEventSourceMappingConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-