Interface AgentInputMessage.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AgentInputMessage.Builder,,AgentInputMessage> SdkBuilder<AgentInputMessage.Builder,,AgentInputMessage> SdkPojo
- Enclosing class:
AgentInputMessage
-
Method Summary
Modifier and TypeMethodDescriptionThe text of your message to the agent.The type of input message, which determines how the agent processes your request.type(AgentInputMessageType type) The type of input message, which determines how the agent processes your request.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 your message to the agent.
- Parameters:
body- The text of your message to the agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of input message, which determines how the agent processes your request. Valid values:
-
normal: A regular message to the agent. -
confirmation_response: A response to a confirmation request from the agent.
- Parameters:
type- The type of input message, which determines how the agent processes your request. Valid values:-
normal: A regular message to the agent. -
confirmation_response: A response to a confirmation request from the agent.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
type
The type of input message, which determines how the agent processes your request. Valid values:
-
normal: A regular message to the agent. -
confirmation_response: A response to a confirmation request from the agent.
- Parameters:
type- The type of input message, which determines how the agent processes your request. Valid values:-
normal: A regular message to the agent. -
confirmation_response: A response to a confirmation request from the agent.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-