Interface ToolDescriptionTextInput.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ToolDescriptionTextInput.Builder,,ToolDescriptionTextInput> SdkBuilder<ToolDescriptionTextInput.Builder,,ToolDescriptionTextInput> SdkPojo
- Enclosing class:
ToolDescriptionTextInput
@Mutable
@NotThreadSafe
public static interface ToolDescriptionTextInput.Builder
extends SdkPojo, CopyableBuilder<ToolDescriptionTextInput.Builder,ToolDescriptionTextInput>
-
Method Summary
Modifier and TypeMethodDescriptiontools(Collection<ToolDescriptionInput> tools) The list of tool descriptions to optimize.tools(Consumer<ToolDescriptionInput.Builder>... tools) The list of tool descriptions to optimize.tools(ToolDescriptionInput... tools) The list of tool descriptions to optimize.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
-
tools
The list of tool descriptions to optimize.
- Parameters:
tools- The list of tool descriptions to optimize.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tools
The list of tool descriptions to optimize.
- Parameters:
tools- The list of tool descriptions to optimize.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tools
The list of tool descriptions to optimize.
This is a convenience method that creates an instance of theToolDescriptionInput.Builderavoiding the need to create one manually viaToolDescriptionInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totools(List<ToolDescriptionInput>).- Parameters:
tools- a consumer that will call methods onToolDescriptionInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-