Interface McpLambdaTargetConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<McpLambdaTargetConfiguration.Builder,,McpLambdaTargetConfiguration> SdkBuilder<McpLambdaTargetConfiguration.Builder,,McpLambdaTargetConfiguration> SdkPojo
- Enclosing class:
McpLambdaTargetConfiguration
@Mutable
@NotThreadSafe
public static interface McpLambdaTargetConfiguration.Builder
extends SdkPojo, CopyableBuilder<McpLambdaTargetConfiguration.Builder,McpLambdaTargetConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the Lambda function.toolSchema(Consumer<ToolSchema.Builder> toolSchema) The tool schema for the Lambda function.toolSchema(ToolSchema toolSchema) The tool schema for the Lambda function.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
-
lambdaArn
The Amazon Resource Name (ARN) of the Lambda function. This function is invoked by the gateway to communicate with the target.
- Parameters:
lambdaArn- The Amazon Resource Name (ARN) of the Lambda function. This function is invoked by the gateway to communicate with the target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toolSchema
The tool schema for the Lambda function. This schema defines the structure of the tools that the Lambda function provides.
- Parameters:
toolSchema- The tool schema for the Lambda function. This schema defines the structure of the tools that the Lambda function provides.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toolSchema
The tool schema for the Lambda function. This schema defines the structure of the tools that the Lambda function provides.
This is a convenience method that creates an instance of theToolSchema.Builderavoiding the need to create one manually viaToolSchema.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totoolSchema(ToolSchema).- Parameters:
toolSchema- a consumer that will call methods onToolSchema.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-