public static interface ResponseSpecification.Builder extends SdkPojo, CopyableBuilder<ResponseSpecification.Builder,ResponseSpecification>
| Modifier and Type | Method and Description |
|---|---|
ResponseSpecification.Builder |
allowInterrupt(Boolean allowInterrupt)
Indicates whether the user can interrupt a speech response from Amazon Lex.
|
ResponseSpecification.Builder |
messageGroups(Collection<MessageGroup> messageGroups)
A collection of responses that Amazon Lex can send to the user.
|
ResponseSpecification.Builder |
messageGroups(Consumer<MessageGroup.Builder>... messageGroups)
A collection of responses that Amazon Lex can send to the user.
|
ResponseSpecification.Builder |
messageGroups(MessageGroup... messageGroups)
A collection of responses that Amazon Lex can send to the user.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildResponseSpecification.Builder messageGroups(Collection<MessageGroup> messageGroups)
A collection of responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime.
messageGroups - A collection of responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response
to send at runtime.ResponseSpecification.Builder messageGroups(MessageGroup... messageGroups)
A collection of responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime.
messageGroups - A collection of responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response
to send at runtime.ResponseSpecification.Builder messageGroups(Consumer<MessageGroup.Builder>... messageGroups)
A collection of responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime.
This is a convenience method that creates an instance of theList.Builder avoiding the
need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #messageGroups(List) .messageGroups - a consumer that will call methods on List.Builder #messageGroups(List) ResponseSpecification.Builder allowInterrupt(Boolean allowInterrupt)
Indicates whether the user can interrupt a speech response from Amazon Lex.
allowInterrupt - Indicates whether the user can interrupt a speech response from Amazon Lex.Copyright © 2022. All rights reserved.