CopyableBuilder<Statement.Builder,Statement>
, SdkBuilder<Statement.Builder,Statement>
public static interface Statement.Builder extends CopyableBuilder<Statement.Builder,Statement>
Modifier and Type | Method | Description |
---|---|---|
Statement.Builder |
messages(Collection<Message> 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 API, Amazon Lex includes the response card in the response.
|
copy
apply, build
Statement.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.
NOTE: This method appends the values to the existing list (if any). Use
#setMessages(java.util.Collection)
or #withMessages(java.util.Collection)
if you want to
override the existing values.
messages
- A collection of message objects.Statement.Builder responseCard(String responseCard)
At runtime, if the client is using the 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 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 © 2017 Amazon Web Services, Inc. All Rights Reserved.