Interface CreateBotResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateBotResponse.Builder,CreateBotResponse>,LexModelsV2Response.Builder,SdkBuilder<CreateBotResponse.Builder,CreateBotResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateBotResponse
public static interface CreateBotResponse.Builder extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<CreateBotResponse.Builder,CreateBotResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateBotResponse.BuilderbotId(String botId)A unique identifier for a particular bot.CreateBotResponse.BuilderbotMembers(Collection<BotMember> botMembers)The list of bots in a network that was created.CreateBotResponse.BuilderbotMembers(Consumer<BotMember.Builder>... botMembers)The list of bots in a network that was created.CreateBotResponse.BuilderbotMembers(BotMember... botMembers)The list of bots in a network that was created.CreateBotResponse.BuilderbotName(String botName)The name specified for the bot.CreateBotResponse.BuilderbotStatus(String botStatus)Shows the current status of the bot.CreateBotResponse.BuilderbotStatus(BotStatus botStatus)Shows the current status of the bot.CreateBotResponse.BuilderbotTags(Map<String,String> botTags)A list of tags associated with the bot.CreateBotResponse.BuilderbotType(String botType)The type of a bot that was created.CreateBotResponse.BuilderbotType(BotType botType)The type of a bot that was created.CreateBotResponse.BuildercreationDateTime(Instant creationDateTime)A timestamp indicating the date and time that the bot was created.default CreateBotResponse.BuilderdataPrivacy(Consumer<DataPrivacy.Builder> dataPrivacy)The data privacy settings specified for the bot.CreateBotResponse.BuilderdataPrivacy(DataPrivacy dataPrivacy)The data privacy settings specified for the bot.CreateBotResponse.Builderdescription(String description)The description specified for the bot.CreateBotResponse.BuilderidleSessionTTLInSeconds(Integer idleSessionTTLInSeconds)The session idle time specified for the bot.CreateBotResponse.BuilderroleArn(String roleArn)The IAM role specified for the bot.CreateBotResponse.BuildertestBotAliasTags(Map<String,String> testBotAliasTags)A list of tags associated with the test alias for the bot.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
botId
CreateBotResponse.Builder botId(String botId)
A unique identifier for a particular bot. You use this to identify the bot when you call other Amazon Lex API operations.
- Parameters:
botId- A unique identifier for a particular bot. You use this to identify the bot when you call other Amazon Lex API operations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botName
CreateBotResponse.Builder botName(String botName)
The name specified for the bot.
- Parameters:
botName- The name specified for the bot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
CreateBotResponse.Builder description(String description)
The description specified for the bot.
- Parameters:
description- The description specified for the bot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
CreateBotResponse.Builder roleArn(String roleArn)
The IAM role specified for the bot.
- Parameters:
roleArn- The IAM role specified for the bot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataPrivacy
CreateBotResponse.Builder dataPrivacy(DataPrivacy dataPrivacy)
The data privacy settings specified for the bot.
- Parameters:
dataPrivacy- The data privacy settings specified for the bot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataPrivacy
default CreateBotResponse.Builder dataPrivacy(Consumer<DataPrivacy.Builder> dataPrivacy)
The data privacy settings specified for the bot.
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
CreateBotResponse.Builder idleSessionTTLInSeconds(Integer idleSessionTTLInSeconds)
The session idle time specified for the bot.
- Parameters:
idleSessionTTLInSeconds- The session idle time specified for the bot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botStatus
CreateBotResponse.Builder botStatus(String botStatus)
Shows the current status of the bot. The bot is first in the
Creatingstatus. Once the bot is read for use, it changes to theAvailablestatus. After the bot is created, you can use theDRAFTversion of the bot.- Parameters:
botStatus- Shows the current status of the bot. The bot is first in theCreatingstatus. Once the bot is read for use, it changes to theAvailablestatus. After the bot is created, you can use theDRAFTversion of the bot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
BotStatus,BotStatus
-
botStatus
CreateBotResponse.Builder botStatus(BotStatus botStatus)
Shows the current status of the bot. The bot is first in the
Creatingstatus. Once the bot is read for use, it changes to theAvailablestatus. After the bot is created, you can use theDRAFTversion of the bot.- Parameters:
botStatus- Shows the current status of the bot. The bot is first in theCreatingstatus. Once the bot is read for use, it changes to theAvailablestatus. After the bot is created, you can use theDRAFTversion of the bot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
BotStatus,BotStatus
-
creationDateTime
CreateBotResponse.Builder creationDateTime(Instant creationDateTime)
A timestamp indicating the date and time that the bot was created.
- Parameters:
creationDateTime- A timestamp indicating the date and time that the bot was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botTags
CreateBotResponse.Builder botTags(Map<String,String> botTags)
A list of tags associated with the bot.
- Parameters:
botTags- A list of tags associated with the bot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testBotAliasTags
CreateBotResponse.Builder testBotAliasTags(Map<String,String> testBotAliasTags)
A list of tags associated with the test alias for the bot.
- Parameters:
testBotAliasTags- A list of tags associated with the test alias for the bot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botType
CreateBotResponse.Builder botType(String botType)
The type of a bot that was created.
-
botType
CreateBotResponse.Builder botType(BotType botType)
The type of a bot that was created.
-
botMembers
CreateBotResponse.Builder botMembers(Collection<BotMember> botMembers)
The list of bots in a network that was created.
- Parameters:
botMembers- The list of bots in a network that was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botMembers
CreateBotResponse.Builder botMembers(BotMember... botMembers)
The list of bots in a network that was created.
- Parameters:
botMembers- The list of bots in a network that was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botMembers
CreateBotResponse.Builder botMembers(Consumer<BotMember.Builder>... botMembers)
The list of bots in a network that was 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)
-
-