public static interface UpdateBotRequest.Builder extends LexModelsV2Request.Builder, SdkPojo, CopyableBuilder<UpdateBotRequest.Builder,UpdateBotRequest>
| Modifier and Type | Method and Description |
|---|---|
UpdateBotRequest.Builder |
botId(String botId)
The unique identifier of the bot to update.
|
UpdateBotRequest.Builder |
botName(String botName)
The new name of the bot.
|
default UpdateBotRequest.Builder |
dataPrivacy(Consumer<DataPrivacy.Builder> dataPrivacy)
Provides information on additional privacy protections Amazon Lex should use with the bot's data.
|
UpdateBotRequest.Builder |
dataPrivacy(DataPrivacy dataPrivacy)
Provides information on additional privacy protections Amazon Lex should use with the bot's data.
|
UpdateBotRequest.Builder |
description(String description)
A description of the bot.
|
UpdateBotRequest.Builder |
idleSessionTTLInSeconds(Integer idleSessionTTLInSeconds)
The time, in seconds, that Amazon Lex should keep information about a user's conversation with the bot.
|
UpdateBotRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
UpdateBotRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
UpdateBotRequest.Builder |
roleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that has permissions to access the bot.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildUpdateBotRequest.Builder botId(String botId)
The unique identifier of the bot to update. This identifier is returned by the CreateBot operation.
botId - The unique identifier of the bot to update. This identifier is returned by the CreateBot operation.UpdateBotRequest.Builder botName(String botName)
The new name of the bot. The name must be unique in the account that creates the bot.
botName - The new name of the bot. The name must be unique in the account that creates the bot.UpdateBotRequest.Builder description(String description)
A description of the bot.
description - A description of the bot.UpdateBotRequest.Builder roleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that has permissions to access the bot.
roleArn - The Amazon Resource Name (ARN) of an IAM role that has permissions to access the bot.UpdateBotRequest.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 UpdateBotRequest.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 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)UpdateBotRequest.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.
UpdateBotRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderUpdateBotRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.