Interface RecommendationResult.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RecommendationResult.Builder,,RecommendationResult> SdkBuilder<RecommendationResult.Builder,,RecommendationResult> SdkPojo
- Enclosing class:
RecommendationResult
@Mutable
@NotThreadSafe
public static interface RecommendationResult.Builder
extends SdkPojo, CopyableBuilder<RecommendationResult.Builder,RecommendationResult>
-
Method Summary
Modifier and TypeMethodDescriptiondefault RecommendationResult.BuildersystemPromptRecommendationResult(Consumer<SystemPromptRecommendationResult.Builder> systemPromptRecommendationResult) The result of a system prompt recommendation.systemPromptRecommendationResult(SystemPromptRecommendationResult systemPromptRecommendationResult) The result of a system prompt recommendation.default RecommendationResult.BuildertoolDescriptionRecommendationResult(Consumer<ToolDescriptionRecommendationResult.Builder> toolDescriptionRecommendationResult) The result of a tool description recommendation.toolDescriptionRecommendationResult(ToolDescriptionRecommendationResult toolDescriptionRecommendationResult) The result of 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
-
systemPromptRecommendationResult
RecommendationResult.Builder systemPromptRecommendationResult(SystemPromptRecommendationResult systemPromptRecommendationResult) The result of a system prompt recommendation.
- Parameters:
systemPromptRecommendationResult- The result of a system prompt recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
systemPromptRecommendationResult
default RecommendationResult.Builder systemPromptRecommendationResult(Consumer<SystemPromptRecommendationResult.Builder> systemPromptRecommendationResult) The result of a system prompt recommendation.
This is a convenience method that creates an instance of theSystemPromptRecommendationResult.Builderavoiding the need to create one manually viaSystemPromptRecommendationResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosystemPromptRecommendationResult(SystemPromptRecommendationResult).- Parameters:
systemPromptRecommendationResult- a consumer that will call methods onSystemPromptRecommendationResult.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
toolDescriptionRecommendationResult
RecommendationResult.Builder toolDescriptionRecommendationResult(ToolDescriptionRecommendationResult toolDescriptionRecommendationResult) The result of a tool description recommendation.
- Parameters:
toolDescriptionRecommendationResult- The result of a tool description recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toolDescriptionRecommendationResult
default RecommendationResult.Builder toolDescriptionRecommendationResult(Consumer<ToolDescriptionRecommendationResult.Builder> toolDescriptionRecommendationResult) The result of a tool description recommendation.
This is a convenience method that creates an instance of theToolDescriptionRecommendationResult.Builderavoiding the need to create one manually viaToolDescriptionRecommendationResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totoolDescriptionRecommendationResult(ToolDescriptionRecommendationResult).- Parameters:
toolDescriptionRecommendationResult- a consumer that will call methods onToolDescriptionRecommendationResult.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-