Interface McpToolSchemaConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<McpToolSchemaConfiguration.Builder,,McpToolSchemaConfiguration> SdkBuilder<McpToolSchemaConfiguration.Builder,,McpToolSchemaConfiguration> SdkPojo
- Enclosing class:
McpToolSchemaConfiguration
@Mutable
@NotThreadSafe
public static interface McpToolSchemaConfiguration.Builder
extends SdkPojo, CopyableBuilder<McpToolSchemaConfiguration.Builder,McpToolSchemaConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptioninlinePayload(String inlinePayload) The inline payload containing the MCP tool schema definition.The Amazon S3 location of the tool schema.s3(S3Configuration s3) The Amazon S3 location of the tool schema.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
-
s3
The Amazon S3 location of the tool schema. This location contains the schema definition file.
- Parameters:
s3- The Amazon S3 location of the tool schema. This location contains the schema definition file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3
The Amazon S3 location of the tool schema. This location contains the schema definition file.
This is a convenience method that creates an instance of theS3Configuration.Builderavoiding the need to create one manually viaS3Configuration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3(S3Configuration).- Parameters:
s3- a consumer that will call methods onS3Configuration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
inlinePayload
The inline payload containing the MCP tool schema definition.
- Parameters:
inlinePayload- The inline payload containing the MCP tool schema definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-