Interface LambdaEventSourceMappingConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<LambdaEventSourceMappingConfiguration.Builder,,LambdaEventSourceMappingConfiguration> SdkBuilder<LambdaEventSourceMappingConfiguration.Builder,,LambdaEventSourceMappingConfiguration> SdkPojo
- Enclosing class:
LambdaEventSourceMappingConfiguration
@Mutable
@NotThreadSafe
public static interface LambdaEventSourceMappingConfiguration.Builder
extends SdkPojo, CopyableBuilder<LambdaEventSourceMappingConfiguration.Builder,LambdaEventSourceMappingConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionThe action to take - whether toenableordisablean event source mapping.action(EventSourceMappingAction action) The action to take - whether toenableordisablean event source mapping.regionEventSourceMappings(Map<String, EventSourceMapping> regionEventSourceMappings) Per-region configuration for which Lambda event source mapping to enable or disable when activating or deactivating a region.timeoutMinutes(Integer timeoutMinutes) The timeout value specified for the configuration.ungraceful(Consumer<LambdaEventSourceMappingUngraceful.Builder> ungraceful) The settings for ungraceful execution.ungraceful(LambdaEventSourceMappingUngraceful ungraceful) The settings for ungraceful execution.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
timeoutMinutes
The timeout value specified for the configuration.
- Parameters:
timeoutMinutes- The timeout value specified for the configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
action
The action to take - whether to
enableordisablean event source mapping.- Parameters:
action- The action to take - whether toenableordisablean event source mapping.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
action
The action to take - whether to
enableordisablean event source mapping.- Parameters:
action- The action to take - whether toenableordisablean event source mapping.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
regionEventSourceMappings
LambdaEventSourceMappingConfiguration.Builder regionEventSourceMappings(Map<String, EventSourceMapping> regionEventSourceMappings) Per-region configuration for which Lambda event source mapping to enable or disable when activating or deactivating a region.
- Parameters:
regionEventSourceMappings- Per-region configuration for which Lambda event source mapping to enable or disable when activating or deactivating a region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ungraceful
LambdaEventSourceMappingConfiguration.Builder ungraceful(LambdaEventSourceMappingUngraceful ungraceful) The settings for ungraceful execution.
- Parameters:
ungraceful- The settings for ungraceful execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ungraceful
default LambdaEventSourceMappingConfiguration.Builder ungraceful(Consumer<LambdaEventSourceMappingUngraceful.Builder> ungraceful) The settings for ungraceful execution.
This is a convenience method that creates an instance of theLambdaEventSourceMappingUngraceful.Builderavoiding the need to create one manually viaLambdaEventSourceMappingUngraceful.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toungraceful(LambdaEventSourceMappingUngraceful).- Parameters:
ungraceful- a consumer that will call methods onLambdaEventSourceMappingUngraceful.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-