Class CfnComponentType.DataConnectorProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iottwinmaker.CfnComponentType.DataConnectorProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnComponentType.DataConnectorProperty>
- Enclosing interface:
CfnComponentType.DataConnectorProperty
@Stability(Stable)
public static final class CfnComponentType.DataConnectorProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnComponentType.DataConnectorProperty>
A builder for
CfnComponentType.DataConnectorProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnComponentType.DataConnectorProperty.getIsNative()
isNative
(IResolvable isNative) Sets the value ofCfnComponentType.DataConnectorProperty.getIsNative()
lambda
(IResolvable lambda) Sets the value ofCfnComponentType.DataConnectorProperty.getLambda()
Sets the value ofCfnComponentType.DataConnectorProperty.getLambda()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
isNative
Sets the value ofCfnComponentType.DataConnectorProperty.getIsNative()
- Parameters:
isNative
- A boolean value that specifies whether the data connector is native to IoT TwinMaker.- Returns:
this
-
isNative
@Stability(Stable) public CfnComponentType.DataConnectorProperty.Builder isNative(IResolvable isNative) Sets the value ofCfnComponentType.DataConnectorProperty.getIsNative()
- Parameters:
isNative
- A boolean value that specifies whether the data connector is native to IoT TwinMaker.- Returns:
this
-
lambda
Sets the value ofCfnComponentType.DataConnectorProperty.getLambda()
- Parameters:
lambda
- The Lambda function associated with the data connector.- Returns:
this
-
lambda
@Stability(Stable) public CfnComponentType.DataConnectorProperty.Builder lambda(CfnComponentType.LambdaFunctionProperty lambda) Sets the value ofCfnComponentType.DataConnectorProperty.getLambda()
- Parameters:
lambda
- The Lambda function associated with the data connector.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnComponentType.DataConnectorProperty>
- Returns:
- a new instance of
CfnComponentType.DataConnectorProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-