Interface ToolDescriptionRecommendationConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ToolDescriptionRecommendationConfig.Builder,,ToolDescriptionRecommendationConfig> SdkBuilder<ToolDescriptionRecommendationConfig.Builder,,ToolDescriptionRecommendationConfig> SdkPojo
- Enclosing class:
ToolDescriptionRecommendationConfig
@Mutable
@NotThreadSafe
public static interface ToolDescriptionRecommendationConfig.Builder
extends SdkPojo, CopyableBuilder<ToolDescriptionRecommendationConfig.Builder,ToolDescriptionRecommendationConfig>
-
Method Summary
Modifier and TypeMethodDescriptionagentTraces(Consumer<AgentTracesConfig.Builder> agentTraces) The agent traces to analyze for generating tool description recommendations.agentTraces(AgentTracesConfig agentTraces) The agent traces to analyze for generating tool description recommendations.toolDescription(Consumer<ToolDescriptionSource.Builder> toolDescription) The current tool descriptions to optimize.toolDescription(ToolDescriptionSource toolDescription) The current 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
-
toolDescription
The current tool descriptions to optimize.
- Parameters:
toolDescription- The current tool descriptions to optimize.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toolDescription
default ToolDescriptionRecommendationConfig.Builder toolDescription(Consumer<ToolDescriptionSource.Builder> toolDescription) The current tool descriptions to optimize.
This is a convenience method that creates an instance of theToolDescriptionSource.Builderavoiding the need to create one manually viaToolDescriptionSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totoolDescription(ToolDescriptionSource).- Parameters:
toolDescription- a consumer that will call methods onToolDescriptionSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
agentTraces
The agent traces to analyze for generating tool description recommendations.
- Parameters:
agentTraces- The agent traces to analyze for generating tool description recommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentTraces
default ToolDescriptionRecommendationConfig.Builder agentTraces(Consumer<AgentTracesConfig.Builder> agentTraces) The agent traces to analyze for generating tool description recommendations.
This is a convenience method that creates an instance of theAgentTracesConfig.Builderavoiding the need to create one manually viaAgentTracesConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toagentTraces(AgentTracesConfig).- Parameters:
agentTraces- a consumer that will call methods onAgentTracesConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-