Class StartRecommendationRequest
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<StartRecommendationRequest.Builder,StartRecommendationRequest>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final StringA unique, case-sensitive identifier to ensure that the API request completes no more than one time.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 RecommendationConfigThe configuration for the recommendation, including the input to optimize, agent traces to analyze, and evaluation settings.static Class<? extends StartRecommendationRequest.Builder>final StringtoString()Returns a string representation of this object.final RecommendationTypetype()The type of recommendation to generate.final StringThe type of recommendation to generate.Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfigurationMethods 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
-
name
The name of the recommendation. Must be unique within your account.
- Returns:
- The name of the recommendation. Must be unique within your account.
-
description
The description of the recommendation.
- Returns:
- The description of the recommendation.
-
type
The type of recommendation to generate. Valid values are
SYSTEM_PROMPT_RECOMMENDATIONfor system prompt optimization orTOOL_DESCRIPTION_RECOMMENDATIONfor tool description optimization.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 to generate. Valid values are
SYSTEM_PROMPT_RECOMMENDATIONfor system prompt optimization orTOOL_DESCRIPTION_RECOMMENDATIONfor tool description optimization. - See Also:
-
typeAsString
The type of recommendation to generate. Valid values are
SYSTEM_PROMPT_RECOMMENDATIONfor system prompt optimization orTOOL_DESCRIPTION_RECOMMENDATIONfor tool description optimization.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 to generate. Valid values are
SYSTEM_PROMPT_RECOMMENDATIONfor system prompt optimization orTOOL_DESCRIPTION_RECOMMENDATIONfor tool description optimization. - See Also:
-
recommendationConfig
The configuration for the recommendation, including the input to optimize, agent traces to analyze, and evaluation settings.
- Returns:
- The configuration for the recommendation, including the input to optimize, agent traces to analyze, and evaluation settings.
-
clientToken
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, the service ignores the request, but does not return an error.
- Returns:
- A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, the service ignores the request, but does not return an error.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<StartRecommendationRequest.Builder,StartRecommendationRequest> - Specified by:
toBuilderin classBedrockAgentCoreRequest
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsRequest
-
equals
- Overrides:
equalsin classAwsRequest
-
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 classSdkRequest
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-