Interface BotImportSpecification.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<BotImportSpecification.Builder,BotImportSpecification>,SdkBuilder<BotImportSpecification.Builder,BotImportSpecification>,SdkPojo
- Enclosing class:
- BotImportSpecification
public static interface BotImportSpecification.Builder extends SdkPojo, CopyableBuilder<BotImportSpecification.Builder,BotImportSpecification>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description BotImportSpecification.BuilderbotName(String botName)The name that Amazon Lex should use for the bot.BotImportSpecification.BuilderbotTags(Map<String,String> botTags)A list of tags to add to the bot.default BotImportSpecification.BuilderdataPrivacy(Consumer<DataPrivacy.Builder> dataPrivacy)Sets the value of the DataPrivacy property for this object.BotImportSpecification.BuilderdataPrivacy(DataPrivacy dataPrivacy)Sets the value of the DataPrivacy property for this object.BotImportSpecification.BuilderidleSessionTTLInSeconds(Integer idleSessionTTLInSeconds)The time, in seconds, that Amazon Lex should keep information about a user's conversation with the bot.BotImportSpecification.BuilderroleArn(String roleArn)The Amazon Resource Name (ARN) of the IAM role used to build and run the bot.BotImportSpecification.BuildertestBotAliasTags(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 Detail
-
botName
BotImportSpecification.Builder botName(String 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
BotImportSpecification.Builder roleArn(String 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
BotImportSpecification.Builder dataPrivacy(DataPrivacy 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
default BotImportSpecification.Builder dataPrivacy(Consumer<DataPrivacy.Builder> dataPrivacy)
Sets the value of the DataPrivacy property for this object. This is a convenience method that creates an instance of theDataPrivacy.Builderavoiding the need to create one manually viaDataPrivacy.builder().When the
Consumercompletes,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:
dataPrivacy(DataPrivacy)
-
idleSessionTTLInSeconds
BotImportSpecification.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.
- 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
BotImportSpecification.Builder botTags(Map<String,String> 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. You can only add tags when you import a bot. You can't use theUpdateBotoperation to update tags. To update tags, use theTagResourceoperation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testBotAliasTags
BotImportSpecification.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 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. You can only add tags when you import a bot. You can't use theUpdateAliasoperation to update tags. To update tags on the test alias, use theTagResourceoperation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-