public static interface CreateBotRequest.Builder extends LexModelsV2Request.Builder, SdkPojo, CopyableBuilder<CreateBotRequest.Builder,CreateBotRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateBotRequest.Builder |
botName(String botName)
The name of the bot.
|
CreateBotRequest.Builder |
botTags(Map<String,String> botTags)
A list of tags to add to the bot.
|
default CreateBotRequest.Builder |
dataPrivacy(Consumer<DataPrivacy.Builder> dataPrivacy)
Provides information on additional privacy protections Amazon Lex should use with the bot's data.
|
CreateBotRequest.Builder |
dataPrivacy(DataPrivacy dataPrivacy)
Provides information on additional privacy protections Amazon Lex should use with the bot's data.
|
CreateBotRequest.Builder |
description(String description)
A description of the bot.
|
CreateBotRequest.Builder |
idleSessionTTLInSeconds(Integer idleSessionTTLInSeconds)
The time, in seconds, that Amazon Lex should keep information about a user's conversation with the bot.
|
CreateBotRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateBotRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateBotRequest.Builder |
roleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that has permission to access the bot.
|
CreateBotRequest.Builder |
testBotAliasTags(Map<String,String> testBotAliasTags)
A list of tags to add to the test alias for a bot.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateBotRequest.Builder botName(String botName)
The name of the bot. The bot name must be unique in the account that creates the bot.
botName - The name of the bot. The bot name must be unique in the account that creates the bot.CreateBotRequest.Builder description(String description)
A description of the bot. It appears in lists to help you identify a particular bot.
description - A description of the bot. It appears in lists to help you identify a particular bot.CreateBotRequest.Builder roleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that has permission to access the bot.
roleArn - The Amazon Resource Name (ARN) of an IAM role that has permission to access the bot.CreateBotRequest.Builder dataPrivacy(DataPrivacy dataPrivacy)
Provides information on additional privacy protections Amazon Lex should use with the bot's data.
dataPrivacy - Provides information on additional privacy protections Amazon Lex should use with the bot's data.default CreateBotRequest.Builder dataPrivacy(Consumer<DataPrivacy.Builder> dataPrivacy)
Provides information on additional privacy protections Amazon Lex should use with the bot's data.
This is a convenience method that creates an instance of theDataPrivacy.Builder avoiding the need to
create one manually via DataPrivacy.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to dataPrivacy(DataPrivacy).
dataPrivacy - a consumer that will call methods on DataPrivacy.BuilderdataPrivacy(DataPrivacy)CreateBotRequest.Builder idleSessionTTLInSeconds(Integer 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.
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.
CreateBotRequest.Builder botTags(Map<String,String> botTags)
A list of tags to add to the bot. You can only add tags when you create a bot. You can't use the
UpdateBot operation to update tags. To update tags, use the TagResource operation.
botTags - A list of tags to add to the bot. You can only add tags when you create a bot. You can't use the
UpdateBot operation to update tags. To update tags, use the TagResource
operation.CreateBotRequest.Builder testBotAliasTags(Map<String,String> testBotAliasTags)
A list of tags to add to the test alias for a bot. You can only add tags when you create a bot. You can't use
the UpdateAlias operation to update tags. To update tags on the test alias, use the
TagResource operation.
testBotAliasTags - A list of tags to add to the test alias for a bot. You can only add tags when you create a bot. You
can't use the UpdateAlias operation to update tags. To update tags on the test alias, use
the TagResource operation.CreateBotRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateBotRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.