Class GetRecommendationResponse
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetRecommendationResponse.Builder,GetRecommendationResponse>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final InstantThe timestamp when the recommendation was created.final StringThe description of the recommendation.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringname()The name of the recommendation.final StringThe Amazon Resource Name (ARN) of the recommendation.final RecommendationConfigThe configuration for the recommendation.final StringThe unique identifier of the recommendation.final RecommendationResultThe result of the recommendation, containing the optimized system prompt or tool descriptions.static Class<? extends GetRecommendationResponse.Builder>final RecommendationStatusstatus()The current status of the recommendation.final StringThe current status of the recommendation.final StringtoString()Returns a string representation of this object.final RecommendationTypetype()The type of recommendation.final StringThe type of recommendation.final InstantThe timestamp when the recommendation was last updated.Methods inherited from class software.amazon.awssdk.services.bedrockagentcore.model.BedrockAgentCoreResponse
responseMetadataMethods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponseMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
recommendationId
The unique identifier of the recommendation.
- Returns:
- The unique identifier of the recommendation.
-
recommendationArn
The Amazon Resource Name (ARN) of the recommendation.
- Returns:
- The Amazon Resource Name (ARN) of the recommendation.
-
name
The name of the recommendation.
- Returns:
- The name of the recommendation.
-
description
The description of the recommendation.
- Returns:
- The description of the recommendation.
-
type
The type of recommendation.
If the service returns an enum value that is not available in the current SDK version,
typewill returnRecommendationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of recommendation.
- See Also:
-
typeAsString
The type of recommendation.
If the service returns an enum value that is not available in the current SDK version,
typewill returnRecommendationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of recommendation.
- See Also:
-
recommendationConfig
The configuration for the recommendation.
- Returns:
- The configuration for the recommendation.
-
status
The 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:
- The current status of the recommendation.
- See Also:
-
statusAsString
The 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:
- The current status of the recommendation.
- See Also:
-
createdAt
The timestamp when the recommendation was created.
- Returns:
- The timestamp when the recommendation was created.
-
updatedAt
The timestamp when the recommendation was last updated.
- Returns:
- The timestamp when the recommendation was last updated.
-
recommendationResult
The result of the recommendation, containing the optimized system prompt or tool descriptions. Only present when the recommendation status is
COMPLETED.- Returns:
- The result of the recommendation, containing the optimized system prompt or tool descriptions. Only
present when the recommendation status is
COMPLETED.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetRecommendationResponse.Builder,GetRecommendationResponse> - Specified by:
toBuilderin classAwsResponse
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsResponse
-
equals
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
- Overrides:
getValueForFieldin classSdkResponse
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-