Class SystemPromptRecommendationResult
java.lang.Object
software.amazon.awssdk.services.bedrockagentcore.model.SystemPromptRecommendationResult
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SystemPromptRecommendationResult.Builder,SystemPromptRecommendationResult>
@Generated("software.amazon.awssdk:codegen")
public final class SystemPromptRecommendationResult
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<SystemPromptRecommendationResult.Builder,SystemPromptRecommendationResult>
The result of a system prompt recommendation, containing the optimized prompt.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The configuration bundle containing the recommended system prompt, if the input was sourced from a configuration bundle.final booleanfinal booleanequalsBySdkFields(Object obj) final StringThe error code if the recommendation failed.final StringThe error message if the recommendation failed.final StringAn explanation of why the recommendation was generated and what patterns were identified in the agent traces.final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe optimized system prompt text generated by the recommendation.static Class<? extends SystemPromptRecommendationResult.Builder>final StringtoString()Returns a string representation of this object.Methods 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
-
recommendedSystemPrompt
The optimized system prompt text generated by the recommendation.
- Returns:
- The optimized system prompt text generated by the recommendation.
-
configurationBundle
The configuration bundle containing the recommended system prompt, if the input was sourced from a configuration bundle.
- Returns:
- The configuration bundle containing the recommended system prompt, if the input was sourced from a configuration bundle.
-
explanation
An explanation of why the recommendation was generated and what patterns were identified in the agent traces.
- Returns:
- An explanation of why the recommendation was generated and what patterns were identified in the agent traces.
-
errorCode
The error code if the recommendation failed.
- Returns:
- The error code if the recommendation failed.
-
errorMessage
The error message if the recommendation failed.
- Returns:
- The error message if the recommendation failed.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<SystemPromptRecommendationResult.Builder,SystemPromptRecommendationResult>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
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
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-