Interface McpServerTargetConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<McpServerTargetConfiguration.Builder,,McpServerTargetConfiguration> SdkBuilder<McpServerTargetConfiguration.Builder,,McpServerTargetConfiguration> SdkPojo
- Enclosing class:
McpServerTargetConfiguration
@Mutable
@NotThreadSafe
public static interface McpServerTargetConfiguration.Builder
extends SdkPojo, CopyableBuilder<McpServerTargetConfiguration.Builder,McpServerTargetConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionThe endpoint for the MCP server target configuration.mcpToolSchema(Consumer<McpToolSchemaConfiguration.Builder> mcpToolSchema) The tool schema configuration for the MCP server target.mcpToolSchema(McpToolSchemaConfiguration mcpToolSchema) The tool schema configuration for the MCP server target.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
-
endpoint
The endpoint for the MCP server target configuration.
- Parameters:
endpoint- The endpoint for the MCP server target configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mcpToolSchema
The tool schema configuration for the MCP server target. Supported only when the credential provider is configured with an authorization code grant type. Dynamic tool discovery/synchronization will be disabled when target is configured with mcpToolSchema.
- Parameters:
mcpToolSchema- The tool schema configuration for the MCP server target. Supported only when the credential provider is configured with an authorization code grant type. Dynamic tool discovery/synchronization will be disabled when target is configured with mcpToolSchema.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mcpToolSchema
default McpServerTargetConfiguration.Builder mcpToolSchema(Consumer<McpToolSchemaConfiguration.Builder> mcpToolSchema) The tool schema configuration for the MCP server target. Supported only when the credential provider is configured with an authorization code grant type. Dynamic tool discovery/synchronization will be disabled when target is configured with mcpToolSchema.
This is a convenience method that creates an instance of theMcpToolSchemaConfiguration.Builderavoiding the need to create one manually viaMcpToolSchemaConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomcpToolSchema(McpToolSchemaConfiguration).- Parameters:
mcpToolSchema- a consumer that will call methods onMcpToolSchemaConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-