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.Builderlambda(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaLambdaConfiguration.builder().When the
Consumercompletes,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:
-