@Stability(value=Stable) public static final class CfnBotProps.Builder extends Object implements software.amazon.jsii.Builder<CfnBotProps>
CfnBotProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnBotProps.Builder dataPrivacy(Object dataPrivacy)
CfnBotProps.getDataPrivacy()dataPrivacy - Provides information on additional privacy protections Amazon Lex should use with the bot's data. This parameter is required.this@Stability(value=Stable) public CfnBotProps.Builder idleSessionTtlInSeconds(Number idleSessionTtlInSeconds)
CfnBotProps.getIdleSessionTtlInSeconds()idleSessionTtlInSeconds - The time, in seconds, that Amazon Lex should keep information about a user's conversation with the bot. This parameter is required.
A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Lex deletes any data provided before the timeout.
You can specify between 60 (1 minute) and 86,400 (24 hours) seconds.
this@Stability(value=Stable) public CfnBotProps.Builder name(String name)
CfnBotProps.getName()name - The name of the field to filter the list of bots. This parameter is required.this@Stability(value=Stable) public CfnBotProps.Builder roleArn(String roleArn)
CfnBotProps.getRoleArn()roleArn - The Amazon Resource Name (ARN) of the IAM role used to build and run the bot. This parameter is required.this@Stability(value=Stable) public CfnBotProps.Builder autoBuildBotLocales(Boolean autoBuildBotLocales)
CfnBotProps.getAutoBuildBotLocales()autoBuildBotLocales - Indicates whether Amazon Lex V2 should automatically build the locales for the bot after a change.this@Stability(value=Stable) public CfnBotProps.Builder autoBuildBotLocales(IResolvable autoBuildBotLocales)
CfnBotProps.getAutoBuildBotLocales()autoBuildBotLocales - Indicates whether Amazon Lex V2 should automatically build the locales for the bot after a change.this@Stability(value=Stable) public CfnBotProps.Builder botFileS3Location(CfnBot.S3LocationProperty botFileS3Location)
CfnBotProps.getBotFileS3Location()botFileS3Location - The Amazon S3 location of files used to import a bot.
The files must be in the import format specified in JSON format for importing and exporting in the Amazon Lex developer guide.this@Stability(value=Stable) public CfnBotProps.Builder botFileS3Location(IResolvable botFileS3Location)
CfnBotProps.getBotFileS3Location()botFileS3Location - The Amazon S3 location of files used to import a bot.
The files must be in the import format specified in JSON format for importing and exporting in the Amazon Lex developer guide.this@Stability(value=Stable) public CfnBotProps.Builder botLocales(IResolvable botLocales)
CfnBotProps.getBotLocales()botLocales - A list of locales for the bot.this@Stability(value=Stable) public CfnBotProps.Builder botLocales(List<? extends Object> botLocales)
CfnBotProps.getBotLocales()botLocales - A list of locales for the bot.this@Stability(value=Stable) public CfnBotProps.Builder botTags(IResolvable botTags)
CfnBotProps.getBotTags()botTags - A list of tags to add to the bot.
You can only add tags when you import a bot. You can't use the UpdateBot operation to update tags. To update tags, use the TagResource operation.this@Stability(value=Stable) public CfnBotProps.Builder botTags(List<? extends Object> botTags)
CfnBotProps.getBotTags()botTags - A list of tags to add to the bot.
You can only add tags when you import a bot. You can't use the UpdateBot operation to update tags. To update tags, use the TagResource operation.this@Stability(value=Stable) public CfnBotProps.Builder description(String description)
CfnBotProps.getDescription()description - The description of the version.this@Stability(value=Stable) public CfnBotProps.Builder testBotAliasSettings(CfnBot.TestBotAliasSettingsProperty testBotAliasSettings)
CfnBotProps.getTestBotAliasSettings()testBotAliasSettings - Specifies configuration settings for the alias used to test the bot.
If the TestBotAliasSettings property is not specified, the settings are configured with default values.this@Stability(value=Stable) public CfnBotProps.Builder testBotAliasSettings(IResolvable testBotAliasSettings)
CfnBotProps.getTestBotAliasSettings()testBotAliasSettings - Specifies configuration settings for the alias used to test the bot.
If the TestBotAliasSettings property is not specified, the settings are configured with default values.this@Stability(value=Stable) public CfnBotProps.Builder testBotAliasTags(IResolvable testBotAliasTags)
CfnBotProps.getTestBotAliasTags()testBotAliasTags - A list of tags to add to the test alias for a bot.
You can only add tags when you import a bot. You can't use the UpdateAlias operation to update tags. To update tags on the test alias, use the TagResource operation.this@Stability(value=Stable) public CfnBotProps.Builder testBotAliasTags(List<? extends Object> testBotAliasTags)
CfnBotProps.getTestBotAliasTags()testBotAliasTags - A list of tags to add to the test alias for a bot.
You can only add tags when you import a bot. You can't use the UpdateAlias operation to update tags. To update tags on the test alias, use the TagResource operation.this@Stability(value=Stable) public CfnBotProps build()
build in interface software.amazon.jsii.Builder<CfnBotProps>CfnBotPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.