Class CfnChannelFlow.LambdaConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.chime.CfnChannelFlow.LambdaConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannelFlow.LambdaConfigurationProperty>
- Enclosing interface:
CfnChannelFlow.LambdaConfigurationProperty
@Stability(Stable)
public static final class CfnChannelFlow.LambdaConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannelFlow.LambdaConfigurationProperty>
A builder for
CfnChannelFlow.LambdaConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.invocationType(String invocationType) Sets the value ofCfnChannelFlow.LambdaConfigurationProperty.getInvocationType()resourceArn(String resourceArn) Sets the value ofCfnChannelFlow.LambdaConfigurationProperty.getResourceArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
invocationType
@Stability(Stable) public CfnChannelFlow.LambdaConfigurationProperty.Builder invocationType(String invocationType) Sets the value ofCfnChannelFlow.LambdaConfigurationProperty.getInvocationType()- Parameters:
invocationType- Controls how the Lambda function is invoked. This parameter is required.- Returns:
this
-
resourceArn
@Stability(Stable) public CfnChannelFlow.LambdaConfigurationProperty.Builder resourceArn(String resourceArn) Sets the value ofCfnChannelFlow.LambdaConfigurationProperty.getResourceArn()- Parameters:
resourceArn- The ARN of the Lambda message processing function. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannelFlow.LambdaConfigurationProperty>- Returns:
- a new instance of
CfnChannelFlow.LambdaConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-