Class CfnChannelNamespacePropsMixin.IntegrationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.appsync.CfnChannelNamespacePropsMixin.IntegrationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannelNamespacePropsMixin.IntegrationProperty>
- Enclosing interface:
CfnChannelNamespacePropsMixin.IntegrationProperty
@Stability(Stable)
public static final class CfnChannelNamespacePropsMixin.IntegrationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannelNamespacePropsMixin.IntegrationProperty>
A builder for
CfnChannelNamespacePropsMixin.IntegrationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.dataSourceName(String dataSourceName) Sets the value ofCfnChannelNamespacePropsMixin.IntegrationProperty.getDataSourceName()Sets the value ofCfnChannelNamespacePropsMixin.IntegrationProperty.getLambdaConfig()lambdaConfig(IResolvable lambdaConfig) Sets the value ofCfnChannelNamespacePropsMixin.IntegrationProperty.getLambdaConfig()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dataSourceName
@Stability(Stable) public CfnChannelNamespacePropsMixin.IntegrationProperty.Builder dataSourceName(String dataSourceName) Sets the value ofCfnChannelNamespacePropsMixin.IntegrationProperty.getDataSourceName()- Parameters:
dataSourceName- The unique name of the data source that has been configured on the API.- Returns:
this
-
lambdaConfig
@Stability(Stable) public CfnChannelNamespacePropsMixin.IntegrationProperty.Builder lambdaConfig(IResolvable lambdaConfig) Sets the value ofCfnChannelNamespacePropsMixin.IntegrationProperty.getLambdaConfig()- Parameters:
lambdaConfig- The configuration for a Lambda data source.- Returns:
this
-
lambdaConfig
@Stability(Stable) public CfnChannelNamespacePropsMixin.IntegrationProperty.Builder lambdaConfig(CfnChannelNamespacePropsMixin.LambdaConfigProperty lambdaConfig) Sets the value ofCfnChannelNamespacePropsMixin.IntegrationProperty.getLambdaConfig()- Parameters:
lambdaConfig- The configuration for a Lambda data source.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannelNamespacePropsMixin.IntegrationProperty>- Returns:
- a new instance of
CfnChannelNamespacePropsMixin.IntegrationProperty - Throws:
NullPointerException- if any required attribute was not provided
-