Interface RecommendationConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RecommendationConfig.Builder,,RecommendationConfig> SdkBuilder<RecommendationConfig.Builder,,RecommendationConfig> SdkPojo
- Enclosing class:
RecommendationConfig
@Mutable
@NotThreadSafe
public static interface RecommendationConfig.Builder
extends SdkPojo, CopyableBuilder<RecommendationConfig.Builder,RecommendationConfig>
-
Method Summary
Modifier and TypeMethodDescriptiondefault RecommendationConfig.BuildersystemPromptRecommendationConfig(Consumer<SystemPromptRecommendationConfig.Builder> systemPromptRecommendationConfig) The configuration for a system prompt recommendation.systemPromptRecommendationConfig(SystemPromptRecommendationConfig systemPromptRecommendationConfig) The configuration for a system prompt recommendation.default RecommendationConfig.BuildertoolDescriptionRecommendationConfig(Consumer<ToolDescriptionRecommendationConfig.Builder> toolDescriptionRecommendationConfig) The configuration for a tool description recommendation.toolDescriptionRecommendationConfig(ToolDescriptionRecommendationConfig toolDescriptionRecommendationConfig) The configuration for a tool description recommendation.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
-
systemPromptRecommendationConfig
RecommendationConfig.Builder systemPromptRecommendationConfig(SystemPromptRecommendationConfig systemPromptRecommendationConfig) The configuration for a system prompt recommendation.
- Parameters:
systemPromptRecommendationConfig- The configuration for a system prompt recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
systemPromptRecommendationConfig
default RecommendationConfig.Builder systemPromptRecommendationConfig(Consumer<SystemPromptRecommendationConfig.Builder> systemPromptRecommendationConfig) The configuration for a system prompt recommendation.
This is a convenience method that creates an instance of theSystemPromptRecommendationConfig.Builderavoiding the need to create one manually viaSystemPromptRecommendationConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosystemPromptRecommendationConfig(SystemPromptRecommendationConfig).- Parameters:
systemPromptRecommendationConfig- a consumer that will call methods onSystemPromptRecommendationConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
toolDescriptionRecommendationConfig
RecommendationConfig.Builder toolDescriptionRecommendationConfig(ToolDescriptionRecommendationConfig toolDescriptionRecommendationConfig) The configuration for a tool description recommendation.
- Parameters:
toolDescriptionRecommendationConfig- The configuration for a tool description recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toolDescriptionRecommendationConfig
default RecommendationConfig.Builder toolDescriptionRecommendationConfig(Consumer<ToolDescriptionRecommendationConfig.Builder> toolDescriptionRecommendationConfig) The configuration for a tool description recommendation.
This is a convenience method that creates an instance of theToolDescriptionRecommendationConfig.Builderavoiding the need to create one manually viaToolDescriptionRecommendationConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totoolDescriptionRecommendationConfig(ToolDescriptionRecommendationConfig).- Parameters:
toolDescriptionRecommendationConfig- a consumer that will call methods onToolDescriptionRecommendationConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-