public static interface FulfillmentStartResponseSpecification.Builder extends SdkPojo, CopyableBuilder<FulfillmentStartResponseSpecification.Builder,FulfillmentStartResponseSpecification>
| Modifier and Type | Method and Description |
|---|---|
FulfillmentStartResponseSpecification.Builder |
allowInterrupt(Boolean allowInterrupt)
Determines whether the user can interrupt the start message while it is playing.
|
FulfillmentStartResponseSpecification.Builder |
delayInSeconds(Integer delayInSeconds)
The delay between when the Lambda fulfillment function starts running and the start message is played.
|
FulfillmentStartResponseSpecification.Builder |
messageGroups(Collection<MessageGroup> messageGroups)
1 - 5 message groups that contain start messages.
|
FulfillmentStartResponseSpecification.Builder |
messageGroups(Consumer<MessageGroup.Builder>... messageGroups)
1 - 5 message groups that contain start messages.
|
FulfillmentStartResponseSpecification.Builder |
messageGroups(MessageGroup... messageGroups)
1 - 5 message groups that contain start messages.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildFulfillmentStartResponseSpecification.Builder delayInSeconds(Integer delayInSeconds)
The delay between when the Lambda fulfillment function starts running and the start message is played. If the Lambda function returns before the delay is over, the start message isn't played.
delayInSeconds - The delay between when the Lambda fulfillment function starts running and the start message is played.
If the Lambda function returns before the delay is over, the start message isn't played.FulfillmentStartResponseSpecification.Builder messageGroups(Collection<MessageGroup> messageGroups)
1 - 5 message groups that contain start messages. Amazon Lex chooses one of the messages to play to the user.
messageGroups - 1 - 5 message groups that contain start messages. Amazon Lex chooses one of the messages to play to
the user.FulfillmentStartResponseSpecification.Builder messageGroups(MessageGroup... messageGroups)
1 - 5 message groups that contain start messages. Amazon Lex chooses one of the messages to play to the user.
messageGroups - 1 - 5 message groups that contain start messages. Amazon Lex chooses one of the messages to play to
the user.FulfillmentStartResponseSpecification.Builder messageGroups(Consumer<MessageGroup.Builder>... messageGroups)
1 - 5 message groups that contain start messages. Amazon Lex chooses one of the messages to play to the user.
This is a convenience method that creates an instance of theMessageGroup.Builder avoiding the need to create
one manually via MessageGroup.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #messageGroups(List.
messageGroups - a consumer that will call methods on
MessageGroup.Builder#messageGroups(java.util.Collection) FulfillmentStartResponseSpecification.Builder allowInterrupt(Boolean allowInterrupt)
Determines whether the user can interrupt the start message while it is playing.
allowInterrupt - Determines whether the user can interrupt the start message while it is playing.Copyright © 2023. All rights reserved.