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.Builder
lambdaConfig
(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
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods 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.Builder
avoiding the need to create one manually viaLambdaConfig.builder()
.When the
Consumer
completes,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:
-