Interface ContentBlockStart.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ContentBlockStart.Builder,ContentBlockStart>,SdkBuilder<ContentBlockStart.Builder,ContentBlockStart>,SdkPojo
- Enclosing class:
- ContentBlockStart
public static interface ContentBlockStart.Builder extends SdkPojo, CopyableBuilder<ContentBlockStart.Builder,ContentBlockStart>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ContentBlockStart.BuildertoolUse(Consumer<ToolUseBlockStart.Builder> toolUse)Information about a tool that the model is requesting to use.ContentBlockStart.BuildertoolUse(ToolUseBlockStart toolUse)Information about a tool that the model is requesting to use.-
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, sdkFields
-
-
-
-
Method Detail
-
toolUse
ContentBlockStart.Builder toolUse(ToolUseBlockStart toolUse)
Information about a tool that the model is requesting to use.
- Parameters:
toolUse- Information about a tool that the model is requesting to use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toolUse
default ContentBlockStart.Builder toolUse(Consumer<ToolUseBlockStart.Builder> toolUse)
Information about a tool that the model is requesting to use.
This is a convenience method that creates an instance of theToolUseBlockStart.Builderavoiding the need to create one manually viaToolUseBlockStart.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totoolUse(ToolUseBlockStart).- Parameters:
toolUse- a consumer that will call methods onToolUseBlockStart.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
toolUse(ToolUseBlockStart)
-
-