Interface ListEventSourceMappingsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListEventSourceMappingsResponse.Builder,ListEventSourceMappingsResponse>,LambdaResponse.Builder,SdkBuilder<ListEventSourceMappingsResponse.Builder,ListEventSourceMappingsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListEventSourceMappingsResponse
public static interface ListEventSourceMappingsResponse.Builder extends LambdaResponse.Builder, SdkPojo, CopyableBuilder<ListEventSourceMappingsResponse.Builder,ListEventSourceMappingsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListEventSourceMappingsResponse.BuildereventSourceMappings(Collection<EventSourceMappingConfiguration> eventSourceMappings)A list of event source mappings.ListEventSourceMappingsResponse.BuildereventSourceMappings(Consumer<EventSourceMappingConfiguration.Builder>... eventSourceMappings)A list of event source mappings.ListEventSourceMappingsResponse.BuildereventSourceMappings(EventSourceMappingConfiguration... eventSourceMappings)A list of event source mappings.ListEventSourceMappingsResponse.BuildernextMarker(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
copy
-
Methods inherited from interface software.amazon.awssdk.services.lambda.model.LambdaResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
nextMarker
ListEventSourceMappingsResponse.Builder nextMarker(String 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 to#eventSourceMappings(List.) - 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:
#eventSourceMappings(java.util.Collection)
-
-