Interface ApiGatewayToolOverride.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ApiGatewayToolOverride.Builder,,ApiGatewayToolOverride> SdkBuilder<ApiGatewayToolOverride.Builder,,ApiGatewayToolOverride> SdkPojo
- Enclosing class:
ApiGatewayToolOverride
@Mutable
@NotThreadSafe
public static interface ApiGatewayToolOverride.Builder
extends SdkPojo, CopyableBuilder<ApiGatewayToolOverride.Builder,ApiGatewayToolOverride>
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) The description of the tool.The HTTP method to expose for the specified path.method(RestApiMethod method) The HTTP method to expose for the specified path.The name of tool.Resource path in the REST API (e.g.,/pets).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
-
name
The name of tool. Identifies the tool in the Model Context Protocol.
- Parameters:
name- The name of tool. Identifies the tool in the Model Context Protocol.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the tool. Provides information about the purpose and usage of the tool. If not provided, uses the description from the API's OpenAPI specification.
- Parameters:
description- The description of the tool. Provides information about the purpose and usage of the tool. If not provided, uses the description from the API's OpenAPI specification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
path
Resource path in the REST API (e.g.,
/pets). Must explicitly match an existing path in the REST API.- Parameters:
path- Resource path in the REST API (e.g.,/pets). Must explicitly match an existing path in the REST API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
method
The HTTP method to expose for the specified path.
- Parameters:
method- The HTTP method to expose for the specified path.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
method
The HTTP method to expose for the specified path.
- Parameters:
method- The HTTP method to expose for the specified path.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-