public static interface FulfillmentUpdateResponseSpecification.Builder extends SdkPojo, CopyableBuilder<FulfillmentUpdateResponseSpecification.Builder,FulfillmentUpdateResponseSpecification>
| Modifier and Type | Method and Description |
|---|---|
FulfillmentUpdateResponseSpecification.Builder |
allowInterrupt(Boolean allowInterrupt)
Determines whether the user can interrupt an update message while it is playing.
|
FulfillmentUpdateResponseSpecification.Builder |
frequencyInSeconds(Integer frequencyInSeconds)
The frequency that a message is sent to the user.
|
FulfillmentUpdateResponseSpecification.Builder |
messageGroups(Collection<MessageGroup> messageGroups)
One to 5 message groups that contain update messages.
|
FulfillmentUpdateResponseSpecification.Builder |
messageGroups(Consumer<MessageGroup.Builder>... messageGroups)
One to 5 message groups that contain update messages.
|
FulfillmentUpdateResponseSpecification.Builder |
messageGroups(MessageGroup... messageGroups)
One to 5 message groups that contain update messages.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildFulfillmentUpdateResponseSpecification.Builder frequencyInSeconds(Integer frequencyInSeconds)
The frequency that a message is sent to the user. When the period ends, Amazon Lex chooses a message from the message groups and plays it to the user. If the fulfillment Lambda returns before the first period ends, an update message is not played to the user.
frequencyInSeconds - The frequency that a message is sent to the user. When the period ends, Amazon Lex chooses a message
from the message groups and plays it to the user. If the fulfillment Lambda returns before the first
period ends, an update message is not played to the user.FulfillmentUpdateResponseSpecification.Builder messageGroups(Collection<MessageGroup> messageGroups)
One to 5 message groups that contain update messages. Amazon Lex chooses one of the messages to play to the user.
messageGroups - One to 5 message groups that contain update messages. Amazon Lex chooses one of the messages to play
to the user.FulfillmentUpdateResponseSpecification.Builder messageGroups(MessageGroup... messageGroups)
One to 5 message groups that contain update messages. Amazon Lex chooses one of the messages to play to the user.
messageGroups - One to 5 message groups that contain update messages. Amazon Lex chooses one of the messages to play
to the user.FulfillmentUpdateResponseSpecification.Builder messageGroups(Consumer<MessageGroup.Builder>... messageGroups)
One to 5 message groups that contain update messages. Amazon Lex chooses one of the messages to play to the user.
This is a convenience 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) FulfillmentUpdateResponseSpecification.Builder allowInterrupt(Boolean allowInterrupt)
Determines whether the user can interrupt an update message while it is playing.
allowInterrupt - Determines whether the user can interrupt an update message while it is playing.Copyright © 2021. All rights reserved.