public static interface Statement.Builder extends SdkPojo, CopyableBuilder<Statement.Builder,Statement>
| Modifier and Type | Method and Description |
|---|---|
Statement.Builder |
messages(Collection<Message> messages)
A collection of message objects.
|
Statement.Builder |
messages(Consumer<Message.Builder>... messages)
A collection of message objects.
|
Statement.Builder |
messages(Message... messages)
A collection of message objects.
|
Statement.Builder |
responseCard(String responseCard)
At runtime, if the client is using the PostText API, Amazon Lex
includes the response card in the response.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildStatement.Builder messages(Collection<Message> messages)
A collection of message objects.
messages - A collection of message objects.Statement.Builder messages(Message... messages)
A collection of message objects.
messages - A collection of message objects.Statement.Builder messages(Consumer<Message.Builder>... messages)
A collection of message objects.
This is a convenience method that creates an instance of theMessage.Builder avoiding the need to create
one manually via Message.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #messages(List.
messages - a consumer that will call methods on
Message.Builder#messages(java.util.Collection) Statement.Builder responseCard(String responseCard)
At runtime, if the client is using the PostText API, Amazon Lex includes the response card in the response. It substitutes all of the session attributes and slot values for placeholders in the response card.
responseCard - At runtime, if the client is using the PostText API, Amazon Lex
includes the response card in the response. It substitutes all of the session attributes and slot
values for placeholders in the response card.Copyright © 2023. All rights reserved.