Interface CreateBotRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateBotRequest.Builder,CreateBotRequest>,LexModelsV2Request.Builder,SdkBuilder<CreateBotRequest.Builder,CreateBotRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateBotRequest
public static interface CreateBotRequest.Builder extends LexModelsV2Request.Builder, SdkPojo, CopyableBuilder<CreateBotRequest.Builder,CreateBotRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateBotRequest.BuilderbotMembers(Collection<BotMember> botMembers)The list of bot members in a network to be created.CreateBotRequest.BuilderbotMembers(Consumer<BotMember.Builder>... botMembers)The list of bot members in a network to be created.CreateBotRequest.BuilderbotMembers(BotMember... botMembers)The list of bot members in a network to be created.CreateBotRequest.BuilderbotName(String botName)The name of the bot.CreateBotRequest.BuilderbotTags(Map<String,String> botTags)A list of tags to add to the bot.CreateBotRequest.BuilderbotType(String botType)The type of a bot to create.CreateBotRequest.BuilderbotType(BotType botType)The type of a bot to create.default CreateBotRequest.BuilderdataPrivacy(Consumer<DataPrivacy.Builder> dataPrivacy)Provides information on additional privacy protections Amazon Lex should use with the bot's data.CreateBotRequest.BuilderdataPrivacy(DataPrivacy dataPrivacy)Provides information on additional privacy protections Amazon Lex should use with the bot's data.CreateBotRequest.Builderdescription(String description)A description of the bot.CreateBotRequest.BuilderidleSessionTTLInSeconds(Integer idleSessionTTLInSeconds)The time, in seconds, that Amazon Lex should keep information about a user's conversation with the bot.CreateBotRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateBotRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateBotRequest.BuilderroleArn(String roleArn)The Amazon Resource Name (ARN) of an IAM role that has permission to access the bot.CreateBotRequest.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.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Request.Builder
build
-
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
CreateBotRequest.Builder botName(String botName)
The name of the bot. The bot name must be unique in the account that creates the bot.
- Parameters:
botName- The name of the bot. The bot name must be unique in the account that creates the bot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
CreateBotRequest.Builder description(String description)
A description of the bot. It appears in lists to help you identify a particular bot.
- Parameters:
description- A description of the bot. It appears in lists to help you identify a particular bot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
CreateBotRequest.Builder roleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that has permission to access the bot.
- Parameters:
roleArn- The Amazon Resource Name (ARN) of an IAM role that has permission to access the bot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataPrivacy
CreateBotRequest.Builder dataPrivacy(DataPrivacy dataPrivacy)
Provides information on additional privacy protections Amazon Lex should use with the bot's data.
- Parameters:
dataPrivacy- Provides information on additional privacy protections Amazon Lex should use with the bot's data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataPrivacy
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.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
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.
- 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
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
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 create 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
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
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 create 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.
-
botType
CreateBotRequest.Builder botType(String botType)
The type of a bot to create.
-
botType
CreateBotRequest.Builder botType(BotType botType)
The type of a bot to create.
-
botMembers
CreateBotRequest.Builder botMembers(Collection<BotMember> botMembers)
The list of bot members in a network to be created.
- Parameters:
botMembers- The list of bot members in a network to be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botMembers
CreateBotRequest.Builder botMembers(BotMember... botMembers)
The list of bot members in a network to be created.
- Parameters:
botMembers- The list of bot members in a network to be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botMembers
CreateBotRequest.Builder botMembers(Consumer<BotMember.Builder>... botMembers)
The list of bot members in a network to be created.
This is a convenience method that creates an instance of theBotMember.Builderavoiding the need to create one manually viaBotMember.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#botMembers(List.) - Parameters:
botMembers- a consumer that will call methods onBotMember.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#botMembers(java.util.Collection)
-
overrideConfiguration
CreateBotRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateBotRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-