Interface CreateBotResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateBotResponse.Builder,
,CreateBotResponse> LexModelsV2Response.Builder
,SdkBuilder<CreateBotResponse.Builder,
,CreateBotResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateBotResponse
-
Method Summary
Modifier and TypeMethodDescriptionA unique identifier for a particular bot.botMembers
(Collection<BotMember> botMembers) The list of bots in a network that was created.botMembers
(Consumer<BotMember.Builder>... botMembers) The list of bots in a network that was created.botMembers
(BotMember... botMembers) The list of bots in a network that was created.The name specified for the bot.Shows the current status of the bot.Shows the current status of the bot.A list of tags associated with the bot.The type of a bot that was created.The type of a bot that was created.creationDateTime
(Instant creationDateTime) A timestamp indicating the date and time that the bot was created.default CreateBotResponse.Builder
dataPrivacy
(Consumer<DataPrivacy.Builder> dataPrivacy) The data privacy settings specified for the bot.dataPrivacy
(DataPrivacy dataPrivacy) The data privacy settings specified for the bot.description
(String description) The description specified for the bot.idleSessionTTLInSeconds
(Integer idleSessionTTLInSeconds) The session idle time specified for the bot.The IAM role specified for the bot.testBotAliasTags
(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 Details
-
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
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
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
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
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
The data privacy settings specified for the bot.
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 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
Shows the current status of the bot. The bot is first in the
Creating
status. Once the bot is read for use, it changes to theAvailable
status. After the bot is created, you can use theDRAFT
version of the bot.- Parameters:
botStatus
- Shows the current status of the bot. The bot is first in theCreating
status. Once the bot is read for use, it changes to theAvailable
status. After the bot is created, you can use theDRAFT
version of the bot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
botStatus
Shows the current status of the bot. The bot is first in the
Creating
status. Once the bot is read for use, it changes to theAvailable
status. After the bot is created, you can use theDRAFT
version of the bot.- Parameters:
botStatus
- Shows the current status of the bot. The bot is first in theCreating
status. Once the bot is read for use, it changes to theAvailable
status. After the bot is created, you can use theDRAFT
version of the bot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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
The type of a bot that was created.
- Parameters:
botType
- The type of a bot that was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
botType
The type of a bot that was created.
- Parameters:
botType
- The type of a bot that was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
The list of bots in a network that was created.
This is a convenience method that creates an instance of theBotMember.Builder
avoiding the need to create one manually viaBotMember.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobotMembers(List<BotMember>)
.- 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:
-