Interface Integration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Integration.Builder,,Integration> SdkBuilder<Integration.Builder,,Integration> SdkPojo
- Enclosing class:
Integration
@Mutable
@NotThreadSafe
public static interface Integration.Builder
extends SdkPojo, CopyableBuilder<Integration.Builder,Integration>
-
Method Summary
Modifier and TypeMethodDescriptiondataSourceName(String dataSourceName) The unique name of the data source that has been configured on the API.default Integration.BuilderlambdaConfig(Consumer<LambdaConfig.Builder> lambdaConfig) The configuration for a Lambda data source.lambdaConfig(LambdaConfig lambdaConfig) The configuration for a Lambda data source.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, sdkFieldNameToField, sdkFields
-
Method Details
-
dataSourceName
The unique name of the data source that has been configured on the API.
- Parameters:
dataSourceName- The unique name of the data source that has been configured on the API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lambdaConfig
The configuration for a Lambda data source.
- Parameters:
lambdaConfig- The configuration for a Lambda data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lambdaConfig
The configuration for a Lambda data source.
This is a convenience method that creates an instance of theLambdaConfig.Builderavoiding the need to create one manually viaLambdaConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolambdaConfig(LambdaConfig).- Parameters:
lambdaConfig- a consumer that will call methods onLambdaConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-