Interface ToolDescriptionRecommendationResult.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ToolDescriptionRecommendationResult.Builder,,ToolDescriptionRecommendationResult> SdkBuilder<ToolDescriptionRecommendationResult.Builder,,ToolDescriptionRecommendationResult> SdkPojo
- Enclosing class:
ToolDescriptionRecommendationResult
-
Method Summary
Modifier and TypeMethodDescriptionconfigurationBundle(Consumer<RecommendationResultConfigurationBundle.Builder> configurationBundle) The configuration bundle containing the recommended tool descriptions, if the input was sourced from a configuration bundle.configurationBundle(RecommendationResultConfigurationBundle configurationBundle) The configuration bundle containing the recommended tool descriptions, if the input was sourced from a configuration bundle.The error code if the recommendation failed.errorMessage(String errorMessage) The error message if the recommendation failed.tools(Collection<ToolDescriptionOutput> tools) The list of tools with their recommended descriptions.tools(Consumer<ToolDescriptionOutput.Builder>... tools) The list of tools with their recommended descriptions.tools(ToolDescriptionOutput... tools) The list of tools with their recommended descriptions.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 tools with their recommended descriptions.
- Parameters:
tools- The list of tools with their recommended descriptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tools
The list of tools with their recommended descriptions.
- Parameters:
tools- The list of tools with their recommended descriptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tools
The list of tools with their recommended descriptions.
This is a convenience method that creates an instance of theToolDescriptionOutput.Builderavoiding the need to create one manually viaToolDescriptionOutput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totools(List<ToolDescriptionOutput>).- Parameters:
tools- a consumer that will call methods onToolDescriptionOutput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
configurationBundle
ToolDescriptionRecommendationResult.Builder configurationBundle(RecommendationResultConfigurationBundle configurationBundle) The configuration bundle containing the recommended tool descriptions, if the input was sourced from a configuration bundle.
- Parameters:
configurationBundle- The configuration bundle containing the recommended tool descriptions, if the input was sourced from a configuration bundle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurationBundle
default ToolDescriptionRecommendationResult.Builder configurationBundle(Consumer<RecommendationResultConfigurationBundle.Builder> configurationBundle) The configuration bundle containing the recommended tool descriptions, if the input was sourced from a configuration bundle.
This is a convenience method that creates an instance of theRecommendationResultConfigurationBundle.Builderavoiding the need to create one manually viaRecommendationResultConfigurationBundle.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfigurationBundle(RecommendationResultConfigurationBundle).- Parameters:
configurationBundle- a consumer that will call methods onRecommendationResultConfigurationBundle.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errorCode
The error code if the recommendation failed.
- Parameters:
errorCode- The error code if the recommendation failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorMessage
The error message if the recommendation failed.
- Parameters:
errorMessage- The error message if the recommendation failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-