Interface ToolUseResultData.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ToolUseResultData.Builder,,ToolUseResultData> SdkBuilder<ToolUseResultData.Builder,,ToolUseResultData> SdkPojo
- Enclosing class:
ToolUseResultData
@Mutable
@NotThreadSafe
public static interface ToolUseResultData.Builder
extends SdkPojo, CopyableBuilder<ToolUseResultData.Builder,ToolUseResultData>
-
Method Summary
Modifier and TypeMethodDescriptioninputSchema(Document inputSchema) The input schema for the tool use result.The name of the tool that was used.toolResult(Document toolResult) The result of the tool usage.The identifier of the tool use instance.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
-
toolUseId
The identifier of the tool use instance.
- Parameters:
toolUseId- The identifier of the tool use instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toolName
The name of the tool that was used.
- Parameters:
toolName- The name of the tool that was used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toolResult
The result of the tool usage.
- Parameters:
toolResult- The result of the tool usage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputSchema
The input schema for the tool use result.
- Parameters:
inputSchema- The input schema for the tool use result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-