Interface ToolDescriptionInput.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ToolDescriptionInput.Builder,,ToolDescriptionInput> SdkBuilder<ToolDescriptionInput.Builder,,ToolDescriptionInput> SdkPojo
- Enclosing class:
ToolDescriptionInput
@Mutable
@NotThreadSafe
public static interface ToolDescriptionInput.Builder
extends SdkPojo, CopyableBuilder<ToolDescriptionInput.Builder,ToolDescriptionInput>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ToolDescriptionInput.BuildertoolDescription(Consumer<ToolDescriptionConfig.Builder> toolDescription) The current description of the tool to optimize.toolDescription(ToolDescriptionConfig toolDescription) The current description of the tool to optimize.The name of the tool.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
-
toolName
The name of the tool.
- Parameters:
toolName- The name of the tool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toolDescription
The current description of the tool to optimize.
- Parameters:
toolDescription- The current description of the tool to optimize.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toolDescription
default ToolDescriptionInput.Builder toolDescription(Consumer<ToolDescriptionConfig.Builder> toolDescription) The current description of the tool to optimize.
This is a convenience method that creates an instance of theToolDescriptionConfig.Builderavoiding the need to create one manually viaToolDescriptionConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totoolDescription(ToolDescriptionConfig).- Parameters:
toolDescription- a consumer that will call methods onToolDescriptionConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-