Interface ToolUseBlock.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ToolUseBlock.Builder,ToolUseBlock>,SdkBuilder<ToolUseBlock.Builder,ToolUseBlock>,SdkPojo
- Enclosing class:
- ToolUseBlock
public static interface ToolUseBlock.Builder extends SdkPojo, CopyableBuilder<ToolUseBlock.Builder,ToolUseBlock>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ToolUseBlock.Builderinput(Document input)The input to pass to the tool.ToolUseBlock.Buildername(String name)The name of the tool that the model wants to use.ToolUseBlock.BuildertoolUseId(String toolUseId)The ID for the tool request.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
toolUseId
ToolUseBlock.Builder toolUseId(String 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
ToolUseBlock.Builder name(String 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
ToolUseBlock.Builder input(Document 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.
-
-