Interface DataConnector.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DataConnector.Builder,
,DataConnector> SdkBuilder<DataConnector.Builder,
,DataConnector> SdkPojo
- Enclosing class:
DataConnector
public static interface DataConnector.Builder
extends SdkPojo, CopyableBuilder<DataConnector.Builder,DataConnector>
-
Method Summary
Modifier and TypeMethodDescriptionA Boolean value that specifies whether the data connector is native to IoT TwinMaker.default DataConnector.Builder
lambda
(Consumer<LambdaFunction.Builder> lambda) The Lambda function associated with this data connector.lambda
(LambdaFunction lambda) The Lambda function associated with this data connector.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
lambda
The Lambda function associated with this data connector.
- Parameters:
lambda
- The Lambda function associated with this data connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lambda
The Lambda function associated with this data connector.
This is a convenience method that creates an instance of theLambdaFunction.Builder
avoiding the need to create one manually viaLambdaFunction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolambda(LambdaFunction)
.- Parameters:
lambda
- a consumer that will call methods onLambdaFunction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
isNative
A Boolean value that specifies whether the data connector is native to IoT TwinMaker.
- Parameters:
isNative
- A Boolean value that specifies whether the data connector is native to IoT TwinMaker.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-