public static final class CfnBot.FulfillmentUpdateResponseSpecificationProperty.Builder
extends java.lang.Object
CfnBot.FulfillmentUpdateResponseSpecificationProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnBot.FulfillmentUpdateResponseSpecificationProperty.Builder |
allowInterrupt(java.lang.Boolean allowInterrupt)
|
CfnBot.FulfillmentUpdateResponseSpecificationProperty.Builder |
allowInterrupt(IResolvable allowInterrupt)
|
CfnBot.FulfillmentUpdateResponseSpecificationProperty |
build()
Builds the configured instance.
|
CfnBot.FulfillmentUpdateResponseSpecificationProperty.Builder |
frequencyInSeconds(java.lang.Number frequencyInSeconds)
|
CfnBot.FulfillmentUpdateResponseSpecificationProperty.Builder |
messageGroups(IResolvable messageGroups)
Sets the value of
CfnBot.FulfillmentUpdateResponseSpecificationProperty.getMessageGroups() |
CfnBot.FulfillmentUpdateResponseSpecificationProperty.Builder |
messageGroups(java.util.List<? extends java.lang.Object> messageGroups)
Sets the value of
CfnBot.FulfillmentUpdateResponseSpecificationProperty.getMessageGroups() |
public CfnBot.FulfillmentUpdateResponseSpecificationProperty.Builder frequencyInSeconds(java.lang.Number frequencyInSeconds)
frequencyInSeconds
- The frequency that a message is sent to the user. This parameter is required.
When the period ends, Amazon Lex chooses a message from the message groups and plays it to the user. If the fulfillment Lambda function returns before the first period ends, an update message is not played to the user.this
public CfnBot.FulfillmentUpdateResponseSpecificationProperty.Builder messageGroups(IResolvable messageGroups)
CfnBot.FulfillmentUpdateResponseSpecificationProperty.getMessageGroups()
messageGroups
- One to 5 message groups that contain update messages. This parameter is required.
Amazon Lex chooses one of the messages to play to the user.this
public CfnBot.FulfillmentUpdateResponseSpecificationProperty.Builder messageGroups(java.util.List<? extends java.lang.Object> messageGroups)
CfnBot.FulfillmentUpdateResponseSpecificationProperty.getMessageGroups()
messageGroups
- One to 5 message groups that contain update messages. This parameter is required.
Amazon Lex chooses one of the messages to play to the user.this
public CfnBot.FulfillmentUpdateResponseSpecificationProperty.Builder allowInterrupt(java.lang.Boolean allowInterrupt)
allowInterrupt
- Determines whether the user can interrupt an update message while it is playing.this
public CfnBot.FulfillmentUpdateResponseSpecificationProperty.Builder allowInterrupt(IResolvable allowInterrupt)
allowInterrupt
- Determines whether the user can interrupt an update message while it is playing.this
public CfnBot.FulfillmentUpdateResponseSpecificationProperty build()
CfnBot.FulfillmentUpdateResponseSpecificationProperty
java.lang.NullPointerException
- if any required attribute was not provided