Interface EndpointConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EndpointConfig.Builder,
,EndpointConfig> SdkBuilder<EndpointConfig.Builder,
,EndpointConfig> SdkPojo
- Enclosing class:
EndpointConfig
@Mutable
@NotThreadSafe
public static interface EndpointConfig.Builder
extends SdkPojo, CopyableBuilder<EndpointConfig.Builder,EndpointConfig>
-
Method Summary
Modifier and TypeMethodDescriptiondefault EndpointConfig.Builder
lambda
(Consumer<LambdaConfig.Builder> lambda) The Lambda function configuration for the endpoint, used when the endpoint communicates through an AWS Lambda function.lambda
(LambdaConfig lambda) The Lambda function configuration for the endpoint, used when the endpoint communicates through an AWS Lambda function.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
-
lambda
The Lambda function configuration for the endpoint, used when the endpoint communicates through an AWS Lambda function.
- Parameters:
lambda
- The Lambda function configuration for the endpoint, used when the endpoint communicates through an AWS Lambda function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lambda
The Lambda function configuration for the endpoint, used when the endpoint communicates through an AWS Lambda function.
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 tolambda(LambdaConfig)
.- Parameters:
lambda
- 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:
-