Interface ProcessorConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ProcessorConfiguration.Builder,
,ProcessorConfiguration> SdkBuilder<ProcessorConfiguration.Builder,
,ProcessorConfiguration> SdkPojo
- Enclosing class:
ProcessorConfiguration
public static interface ProcessorConfiguration.Builder
extends SdkPojo, CopyableBuilder<ProcessorConfiguration.Builder,ProcessorConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ProcessorConfiguration.Builder
lambda
(Consumer<LambdaConfiguration.Builder> lambda) Indicates that the processor is of type Lambda.lambda
(LambdaConfiguration lambda) Indicates that the processor is of type Lambda.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
lambda
Indicates that the processor is of type Lambda.
- Parameters:
lambda
- Indicates that the processor is of type Lambda.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lambda
Indicates that the processor is of type Lambda.
This is a convenience method that creates an instance of theLambdaConfiguration.Builder
avoiding the need to create one manually viaLambdaConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolambda(LambdaConfiguration)
.- Parameters:
lambda
- a consumer that will call methods onLambdaConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-