Interface AgentOutputMessage.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AgentOutputMessage.Builder,,AgentOutputMessage> SdkBuilder<AgentOutputMessage.Builder,,AgentOutputMessage> SdkPojo
- Enclosing class:
AgentOutputMessage
@Mutable
@NotThreadSafe
public static interface AgentOutputMessage.Builder
extends SdkPojo, CopyableBuilder<AgentOutputMessage.Builder,AgentOutputMessage>
-
Method Summary
Modifier and TypeMethodDescriptionThe text of the agent's response.optionsList(String... optionsList) A list of selectable options presented when the response type isoptions.optionsList(Collection<String> optionsList) A list of selectable options presented when the response type isoptions.The type of output message, which indicates how to interpret the agent's response.type(AgentOutputMessageType type) The type of output message, which indicates how to interpret the agent's response.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
body
The text of the agent's response.
- Parameters:
body- The text of the agent's response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of output message, which indicates how to interpret the agent's response.
- Parameters:
type- The type of output message, which indicates how to interpret the agent's response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of output message, which indicates how to interpret the agent's response.
- Parameters:
type- The type of output message, which indicates how to interpret the agent's response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
optionsList
A list of selectable options presented when the response type is
options.- Parameters:
optionsList- A list of selectable options presented when the response type isoptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
optionsList
A list of selectable options presented when the response type is
options.- Parameters:
optionsList- A list of selectable options presented when the response type isoptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-