Interface Recommendation.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Recommendation.Builder,,Recommendation> SdkBuilder<Recommendation.Builder,,Recommendation> SdkPojo
- Enclosing class:
Recommendation
-
Method Summary
Modifier and TypeMethodDescriptionadditionalContext(String additionalContext) Additional context for recommendationagentSpaceArn(String agentSpaceArn) ARN of the agent space this recommendation belongs todefault Recommendation.Buildercontent(Consumer<RecommendationContent.Builder> content) Content of the recommendationcontent(RecommendationContent content) Content of the recommendationTimestamp when this recommendation was createdID of the goal this recommendation is associated withgoalVersion(Long goalVersion) Version of the goal at the time this recommendation was generatedPriority level of the recommendationpriority(RecommendationPriority priority) Priority level of the recommendationrecommendationId(String recommendationId) The unique identifier for this recommendationCurrent status of the recommendationstatus(RecommendationStatus status) Current status of the recommendationID of the task that generated the recommendationThe title of the recommendationTimestamp when this recommendation was last updatedVersion number for optimistic lockingMethods 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
-
agentSpaceArn
ARN of the agent space this recommendation belongs to
- Parameters:
agentSpaceArn- ARN of the agent space this recommendation belongs to- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendationId
The unique identifier for this recommendation
- Parameters:
recommendationId- The unique identifier for this recommendation- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskId
ID of the task that generated the recommendation
- Parameters:
taskId- ID of the task that generated the recommendation- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
goalId
ID of the goal this recommendation is associated with
- Parameters:
goalId- ID of the goal this recommendation is associated with- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
title
The title of the recommendation
- Parameters:
title- The title of the recommendation- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
Content of the recommendation
- Parameters:
content- Content of the recommendation- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
Content of the recommendation
This is a convenience method that creates an instance of theRecommendationContent.Builderavoiding the need to create one manually viaRecommendationContent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontent(RecommendationContent).- Parameters:
content- a consumer that will call methods onRecommendationContent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
Current status of the recommendation
- Parameters:
status- Current status of the recommendation- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
Current status of the recommendation
- Parameters:
status- Current status of the recommendation- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
priority
Priority level of the recommendation
- Parameters:
priority- Priority level of the recommendation- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
priority
Priority level of the recommendation
- Parameters:
priority- Priority level of the recommendation- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
goalVersion
Version of the goal at the time this recommendation was generated
- Parameters:
goalVersion- Version of the goal at the time this recommendation was generated- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalContext
Additional context for recommendation
- Parameters:
additionalContext- Additional context for recommendation- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
Timestamp when this recommendation was created
- Parameters:
createdAt- Timestamp when this recommendation was created- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
Timestamp when this recommendation was last updated
- Parameters:
updatedAt- Timestamp when this recommendation was last updated- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
version
Version number for optimistic locking
- Parameters:
version- Version number for optimistic locking- Returns:
- Returns a reference to this object so that method calls can be chained together.
-