Interface BotImportSpecification.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BotImportSpecification.Builder,
,BotImportSpecification> SdkBuilder<BotImportSpecification.Builder,
,BotImportSpecification> SdkPojo
- Enclosing class:
BotImportSpecification
-
Method Summary
Modifier and TypeMethodDescriptionThe name that Amazon Lex should use for the bot.A list of tags to add to the bot.default BotImportSpecification.Builder
dataPrivacy
(Consumer<DataPrivacy.Builder> dataPrivacy) Sets the value of the DataPrivacy property for this object.dataPrivacy
(DataPrivacy dataPrivacy) Sets the value of the DataPrivacy property for this object.idleSessionTTLInSeconds
(Integer idleSessionTTLInSeconds) The time, in seconds, that Amazon Lex should keep information about a user's conversation with the bot.The Amazon Resource Name (ARN) of the IAM role used to build and run the bot.testBotAliasTags
(Map<String, String> testBotAliasTags) A list of tags to add to the test alias for a bot.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
botName
The name that Amazon Lex should use for the bot.
- Parameters:
botName
- The name that Amazon Lex should use for the bot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataPrivacy
Sets the value of the DataPrivacy property for this object.- Parameters:
dataPrivacy
- The new value for the DataPrivacy property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataPrivacy
Sets the value of the DataPrivacy property for this object. This is a convenience method that creates an instance of theDataPrivacy.Builder
avoiding the need to create one manually viaDataPrivacy.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todataPrivacy(DataPrivacy)
.- Parameters:
dataPrivacy
- a consumer that will call methods onDataPrivacy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 theTagResource
operation.- Parameters:
botTags
- A list of tags to add to the bot. You can only add tags when you import a bot. You can't use theUpdateBot
operation to update tags. To update tags, use theTagResource
operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 theTagResource
operation.- Parameters:
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 theUpdateAlias
operation to update tags. To update tags on the test alias, use theTagResource
operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-