Class Recommendation
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Recommendation.Builder,Recommendation>
Represents a recommendation with all its properties and metadata
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringAdditional context for recommendationfinal StringARN of the agent space this recommendation belongs tostatic Recommendation.Builderbuilder()final RecommendationContentcontent()Content of the recommendationfinal InstantTimestamp when this recommendation was createdfinal booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final StringgoalId()ID of the goal this recommendation is associated withfinal LongVersion of the goal at the time this recommendation was generatedfinal inthashCode()final RecommendationPrioritypriority()Priority level of the recommendationfinal StringPriority level of the recommendationfinal StringThe unique identifier for this recommendationstatic Class<? extends Recommendation.Builder> final RecommendationStatusstatus()Current status of the recommendationfinal StringCurrent status of the recommendationfinal StringtaskId()ID of the task that generated the recommendationfinal Stringtitle()The title of the recommendationTake this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final InstantTimestamp when this recommendation was last updatedfinal Longversion()Version number for optimistic lockingMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
agentSpaceArn
ARN of the agent space this recommendation belongs to
- Returns:
- ARN of the agent space this recommendation belongs to
-
recommendationId
The unique identifier for this recommendation
- Returns:
- The unique identifier for this recommendation
-
taskId
ID of the task that generated the recommendation
- Returns:
- ID of the task that generated the recommendation
-
goalId
ID of the goal this recommendation is associated with
- Returns:
- ID of the goal this recommendation is associated with
-
title
The title of the recommendation
- Returns:
- The title of the recommendation
-
content
Content of the recommendation
- Returns:
- Content of the recommendation
-
status
Current status of the recommendation
If the service returns an enum value that is not available in the current SDK version,
statuswill returnRecommendationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- Current status of the recommendation
- See Also:
-
statusAsString
Current status of the recommendation
If the service returns an enum value that is not available in the current SDK version,
statuswill returnRecommendationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- Current status of the recommendation
- See Also:
-
priority
Priority level of the recommendation
If the service returns an enum value that is not available in the current SDK version,
prioritywill returnRecommendationPriority.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompriorityAsString().- Returns:
- Priority level of the recommendation
- See Also:
-
priorityAsString
Priority level of the recommendation
If the service returns an enum value that is not available in the current SDK version,
prioritywill returnRecommendationPriority.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompriorityAsString().- Returns:
- Priority level of the recommendation
- See Also:
-
goalVersion
Version of the goal at the time this recommendation was generated
- Returns:
- Version of the goal at the time this recommendation was generated
-
additionalContext
Additional context for recommendation
- Returns:
- Additional context for recommendation
-
createdAt
Timestamp when this recommendation was created
- Returns:
- Timestamp when this recommendation was created
-
updatedAt
Timestamp when this recommendation was last updated
- Returns:
- Timestamp when this recommendation was last updated
-
version
Version number for optimistic locking
- Returns:
- Version number for optimistic locking
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<Recommendation.Builder,Recommendation> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-