Interface PreProcessingParsedResponse.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PreProcessingParsedResponse.Builder,PreProcessingParsedResponse>,SdkBuilder<PreProcessingParsedResponse.Builder,PreProcessingParsedResponse>,SdkPojo
- Enclosing class:
- PreProcessingParsedResponse
@Mutable @NotThreadSafe public static interface PreProcessingParsedResponse.Builder extends SdkPojo, CopyableBuilder<PreProcessingParsedResponse.Builder,PreProcessingParsedResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PreProcessingParsedResponse.BuilderisValid(Boolean isValid)Whether the user input is valid or not.PreProcessingParsedResponse.Builderrationale(String rationale)The text returned by the parsing of the pre-processing step, explaining the steps that the agent plans to take in orchestration, if the user input is valid.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
isValid
PreProcessingParsedResponse.Builder isValid(Boolean isValid)
Whether the user input is valid or not. If
false, the agent doesn't proceed to orchestration.- Parameters:
isValid- Whether the user input is valid or not. Iffalse, the agent doesn't proceed to orchestration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rationale
PreProcessingParsedResponse.Builder rationale(String rationale)
The text returned by the parsing of the pre-processing step, explaining the steps that the agent plans to take in orchestration, if the user input is valid.
- Parameters:
rationale- The text returned by the parsing of the pre-processing step, explaining the steps that the agent plans to take in orchestration, if the user input is valid.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-