Class CfnPipe.PipeTargetLambdaFunctionParametersProperty.Builder
java.lang.Object
software.amazon.awscdk.services.pipes.CfnPipe.PipeTargetLambdaFunctionParametersProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipe.PipeTargetLambdaFunctionParametersProperty>
- Enclosing interface:
CfnPipe.PipeTargetLambdaFunctionParametersProperty
@Stability(Stable)
public static final class CfnPipe.PipeTargetLambdaFunctionParametersProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipe.PipeTargetLambdaFunctionParametersProperty>
A builder for
CfnPipe.PipeTargetLambdaFunctionParametersProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.invocationType
(String invocationType) Sets the value ofCfnPipe.PipeTargetLambdaFunctionParametersProperty.getInvocationType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
invocationType
@Stability(Stable) public CfnPipe.PipeTargetLambdaFunctionParametersProperty.Builder invocationType(String invocationType) Sets the value ofCfnPipe.PipeTargetLambdaFunctionParametersProperty.getInvocationType()
- Parameters:
invocationType
- Specify whether to invoke the function synchronously or asynchronously.REQUEST_RESPONSE
(default) - Invoke synchronously. This corresponds to theRequestResponse
option in theInvocationType
parameter for the Lambda Invoke API.FIRE_AND_FORGET
- Invoke asynchronously. This corresponds to theEvent
option in theInvocationType
parameter for the Lambda Invoke API.
For more information, see Invocation types in the Amazon EventBridge User Guide .
- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPipe.PipeTargetLambdaFunctionParametersProperty>
- Returns:
- a new instance of
CfnPipe.PipeTargetLambdaFunctionParametersProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-