Interface HarnessToolUseBlock.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<HarnessToolUseBlock.Builder,,HarnessToolUseBlock> SdkBuilder<HarnessToolUseBlock.Builder,,HarnessToolUseBlock> SdkPojo
- Enclosing class:
HarnessToolUseBlock
@Mutable
@NotThreadSafe
public static interface HarnessToolUseBlock.Builder
extends SdkPojo, CopyableBuilder<HarnessToolUseBlock.Builder,HarnessToolUseBlock>
-
Method Summary
Modifier and TypeMethodDescriptionThe JSON input to pass to the tool.The name of the tool to call.serverName(String serverName) The name of the MCP server providing this tool.The unique ID of this tool use.The type of tool use.type(HarnessToolUseType type) The type of tool use.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 the tool to call.
- Parameters:
name- The name of the tool to call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toolUseId
The unique ID of this tool use.
- Parameters:
toolUseId- The unique ID of this tool use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
input
The JSON input to pass to the tool.
- Parameters:
input- The JSON input to pass to the tool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of tool use.
- Parameters:
type- The type of tool use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of tool use.
- Parameters:
type- The type of tool use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
serverName
The name of the MCP server providing this tool.
- Parameters:
serverName- The name of the MCP server providing this tool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-