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.Builderlambda(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaLambdaFunction.builder().When the
Consumercompletes,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.
-