Class CfnBotPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBotPropsMixin>
- Enclosing class:
CfnBotPropsMixin
CfnBotPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionautoBuildBotLocales(Boolean autoBuildBotLocales) Indicates whether Amazon Lex V2 should automatically build the locales for the bot after a change.autoBuildBotLocales(IResolvable autoBuildBotLocales) Indicates whether Amazon Lex V2 should automatically build the locales for the bot after a change.botFileS3Location(CfnBotPropsMixin.S3LocationProperty botFileS3Location) The Amazon S3 location of files used to import a bot.botFileS3Location(IResolvable botFileS3Location) The Amazon S3 location of files used to import a bot.botLocales(List<? extends Object> botLocales) A list of locales for the bot.botLocales(IResolvable botLocales) A list of locales for the bot.A list of tags to add to the bot.build()static CfnBotPropsMixin.Buildercreate()static CfnBotPropsMixin.Buildercreate(CfnPropertyMixinOptions options) dataPrivacy(Object dataPrivacy) By default, data stored by Amazon Lex is encrypted.description(String description) The description of the version.errorLogSettings(CfnBotPropsMixin.ErrorLogSettingsProperty errorLogSettings) errorLogSettings(IResolvable errorLogSettings) idleSessionTtlInSeconds(Number idleSessionTtlInSeconds) The time, in seconds, that Amazon Lex should keep information about a user's conversation with the bot.The name of the bot locale.replication(CfnBotPropsMixin.ReplicationProperty replication) replication(IResolvable replication) The Amazon Resource Name (ARN) of the IAM role used to build and run the bot.The Amazon Resource Name (ARN) of the IAM role used to build and run the bot.testBotAliasSettings(CfnBotPropsMixin.TestBotAliasSettingsProperty testBotAliasSettings) Specifies configuration settings for the alias used to test the bot.testBotAliasSettings(IResolvable testBotAliasSettings) Specifies configuration settings for the alias used to test the bot.testBotAliasTags(List<? extends Object> testBotAliasTags) A list of tags to add to the test alias for a bot.testBotAliasTags(IResolvable testBotAliasTags) A list of tags to add to the test alias for a bot.
-
Method Details
-
create
- Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnBotPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnBotPropsMixin.Builder.
-
autoBuildBotLocales
Indicates whether Amazon Lex V2 should automatically build the locales for the bot after a change.- Parameters:
autoBuildBotLocales- Indicates whether Amazon Lex V2 should automatically build the locales for the bot after a change. This parameter is required.- Returns:
this- See Also:
-
autoBuildBotLocales
@Stability(Stable) public CfnBotPropsMixin.Builder autoBuildBotLocales(IResolvable autoBuildBotLocales) Indicates whether Amazon Lex V2 should automatically build the locales for the bot after a change.- Parameters:
autoBuildBotLocales- Indicates whether Amazon Lex V2 should automatically build the locales for the bot after a change. This parameter is required.- Returns:
this- See Also:
-
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.
- Parameters:
botFileS3Location- The Amazon S3 location of files used to import a bot. This parameter is required.- Returns:
this- See Also:
-
botFileS3Location
@Stability(Stable) public CfnBotPropsMixin.Builder botFileS3Location(CfnBotPropsMixin.S3LocationProperty 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.
- Parameters:
botFileS3Location- The Amazon S3 location of files used to import a bot. This parameter is required.- Returns:
this- See Also:
-
botLocales
A list of locales for the bot.- Parameters:
botLocales- A list of locales for the bot. This parameter is required.- Returns:
this- See Also:
-
botLocales
A list of locales for the bot.- Parameters:
botLocales- A list of locales for the bot. This parameter is required.- Returns:
this- See Also:
-
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
UpdateBotoperation to update tags. To update tags, use theTagResourceoperation.- Parameters:
botTags- A list of tags to add to the bot. This parameter is required.- Returns:
this- See Also:
-
dataPrivacy
By default, data stored by Amazon Lex is encrypted.The
DataPrivacystructure provides settings that determine how Amazon Lex handles special cases of securing the data for your bot.- Parameters:
dataPrivacy- By default, data stored by Amazon Lex is encrypted. This parameter is required.- Returns:
this- See Also:
-
description
The description of the version.- Parameters:
description- The description of the version. This parameter is required.- Returns:
this- See Also:
-
errorLogSettings
- Parameters:
errorLogSettings- This parameter is required.- Returns:
this- See Also:
-
errorLogSettings
@Stability(Stable) public CfnBotPropsMixin.Builder errorLogSettings(CfnBotPropsMixin.ErrorLogSettingsProperty errorLogSettings) - Parameters:
errorLogSettings- This parameter is required.- Returns:
this- See Also:
-
idleSessionTtlInSeconds
@Stability(Stable) public CfnBotPropsMixin.Builder idleSessionTtlInSeconds(Number idleSessionTtlInSeconds) The time, in seconds, that Amazon Lex should keep information about a user's conversation with the bot.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.
- Parameters:
idleSessionTtlInSeconds- The time, in seconds, that Amazon Lex should keep information about a user's conversation with the bot. This parameter is required.- Returns:
this- See Also:
-
name
The name of the bot locale.- Parameters:
name- The name of the bot locale. This parameter is required.- Returns:
this- See Also:
-
replication
- Parameters:
replication- This parameter is required.- Returns:
this- See Also:
-
replication
@Stability(Stable) public CfnBotPropsMixin.Builder replication(CfnBotPropsMixin.ReplicationProperty replication) - Parameters:
replication- This parameter is required.- Returns:
this- See Also:
-
roleArn
The Amazon Resource Name (ARN) of the IAM role used to build and run the bot.- Parameters:
roleArn- The Amazon Resource Name (ARN) of the IAM role used to build and run the bot. This parameter is required.- Returns:
this- See Also:
-
roleArn
The Amazon Resource Name (ARN) of the IAM role used to build and run the bot.- Parameters:
roleArn- The Amazon Resource Name (ARN) of the IAM role used to build and run the bot. This parameter is required.- Returns:
this- See Also:
-
testBotAliasSettings
@Stability(Stable) public CfnBotPropsMixin.Builder testBotAliasSettings(IResolvable testBotAliasSettings) Specifies configuration settings for the alias used to test the bot.If the
TestBotAliasSettingsproperty is not specified, the settings are configured with default values.- Parameters:
testBotAliasSettings- Specifies configuration settings for the alias used to test the bot. This parameter is required.- Returns:
this- See Also:
-
testBotAliasSettings
@Stability(Stable) public CfnBotPropsMixin.Builder testBotAliasSettings(CfnBotPropsMixin.TestBotAliasSettingsProperty testBotAliasSettings) Specifies configuration settings for the alias used to test the bot.If the
TestBotAliasSettingsproperty is not specified, the settings are configured with default values.- Parameters:
testBotAliasSettings- Specifies configuration settings for the alias used to test the bot. This parameter is required.- Returns:
this- See Also:
-
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
UpdateAliasoperation to update tags. To update tags on the test alias, use theTagResourceoperation.- Parameters:
testBotAliasTags- A list of tags to add to the test alias for a bot. This parameter is required.- Returns:
this- See Also:
-
testBotAliasTags
@Stability(Stable) public CfnBotPropsMixin.Builder testBotAliasTags(List<? extends Object> 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
UpdateAliasoperation to update tags. To update tags on the test alias, use theTagResourceoperation.- Parameters:
testBotAliasTags- A list of tags to add to the test alias for a bot. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBotPropsMixin>- Returns:
- a newly built instance of
CfnBotPropsMixin.
-