Interface FulfillmentStartResponseSpecification.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<FulfillmentStartResponseSpecification.Builder,FulfillmentStartResponseSpecification>,SdkBuilder<FulfillmentStartResponseSpecification.Builder,FulfillmentStartResponseSpecification>,SdkPojo
- Enclosing class:
- FulfillmentStartResponseSpecification
public static interface FulfillmentStartResponseSpecification.Builder extends SdkPojo, CopyableBuilder<FulfillmentStartResponseSpecification.Builder,FulfillmentStartResponseSpecification>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FulfillmentStartResponseSpecification.BuilderallowInterrupt(Boolean allowInterrupt)Determines whether the user can interrupt the start message while it is playing.FulfillmentStartResponseSpecification.BuilderdelayInSeconds(Integer delayInSeconds)The delay between when the Lambda fulfillment function starts running and the start message is played.FulfillmentStartResponseSpecification.BuildermessageGroups(Collection<MessageGroup> messageGroups)1 - 5 message groups that contain start messages.FulfillmentStartResponseSpecification.BuildermessageGroups(Consumer<MessageGroup.Builder>... messageGroups)1 - 5 message groups that contain start messages.FulfillmentStartResponseSpecification.BuildermessageGroups(MessageGroup... messageGroups)1 - 5 message groups that contain start messages.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
delayInSeconds
FulfillmentStartResponseSpecification.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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
messageGroups
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.
- Parameters:
messageGroups- 1 - 5 message groups that contain start messages. Amazon Lex chooses one of the messages to play to the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
messageGroups
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.
- Parameters:
messageGroups- 1 - 5 message groups that contain start messages. Amazon Lex chooses one of the messages to play to the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
messageGroups
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.Builderavoiding the need to create one manually viaMessageGroup.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#messageGroups(List.) - Parameters:
messageGroups- a consumer that will call methods onMessageGroup.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#messageGroups(java.util.Collection)
-
allowInterrupt
FulfillmentStartResponseSpecification.Builder allowInterrupt(Boolean allowInterrupt)
Determines whether the user can interrupt the start message while it is playing.
- Parameters:
allowInterrupt- Determines whether the user can interrupt the start message while it is playing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-