Interface ToolUseBlock.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ToolUseBlock.Builder,,ToolUseBlock> SdkBuilder<ToolUseBlock.Builder,,ToolUseBlock> SdkPojo
- Enclosing class:
ToolUseBlock
@Mutable
@NotThreadSafe
public static interface ToolUseBlock.Builder
extends SdkPojo, CopyableBuilder<ToolUseBlock.Builder,ToolUseBlock>
-
Method Summary
Modifier and TypeMethodDescriptionThe input to pass to the tool.The name of the tool that the model wants to use.The ID for the tool request.The type for the tool request.type(ToolUseType type) The type for the tool request.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 ID for the tool request.
- Parameters:
toolUseId- The ID for the tool request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the tool that the model wants to use.
- Parameters:
name- The name of the tool that the model wants to use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
input
The input to pass to the tool.
- Parameters:
input- The input to pass to the tool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type for the tool request.
- Parameters:
type- The type for the tool request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type for the tool request.
- Parameters:
type- The type for the tool request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-