Interface UpdateBotResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<UpdateBotResponse.Builder,
,UpdateBotResponse> LexModelsV2Response.Builder
,SdkBuilder<UpdateBotResponse.Builder,
,UpdateBotResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdateBotResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe unique identifier of the bot that was updated.botMembers
(Collection<BotMember> botMembers) The list of bot members in the network that was updated.botMembers
(Consumer<BotMember.Builder>... botMembers) The list of bot members in the network that was updated.botMembers
(BotMember... botMembers) The list of bot members in the network that was updated.The name of the bot after the update.Shows the current status of the bot.Shows the current status of the bot.The type of the bot that was updated.The type of the bot that was updated.creationDateTime
(Instant creationDateTime) A timestamp of the date and time that the bot was created.default UpdateBotResponse.Builder
dataPrivacy
(Consumer<DataPrivacy.Builder> dataPrivacy) The data privacy settings for the bot after the update.dataPrivacy
(DataPrivacy dataPrivacy) The data privacy settings for the bot after the update.description
(String description) The description of the bot after the update.idleSessionTTLInSeconds
(Integer idleSessionTTLInSeconds) The session timeout, in seconds, for the bot after the update.lastUpdatedDateTime
(Instant lastUpdatedDateTime) A timestamp of the date and time that the bot was last updated.The Amazon Resource Name (ARN) of the IAM role used by the bot after the update.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
The unique identifier of the bot that was updated.
- Parameters:
botId
- The unique identifier of the bot that was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botName
The name of the bot after the update.
- Parameters:
botName
- The name of the bot after the update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the bot after the update.
- Parameters:
description
- The description of the bot after the update.- 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 by the bot after the update.
- Parameters:
roleArn
- The Amazon Resource Name (ARN) of the IAM role used by the bot after the update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataPrivacy
The data privacy settings for the bot after the update.
- Parameters:
dataPrivacy
- The data privacy settings for the bot after the update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataPrivacy
The data privacy settings for the bot after the update.
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 timeout, in seconds, for the bot after the update.
- Parameters:
idleSessionTTLInSeconds
- The session timeout, in seconds, for the bot after the update.- 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 of the date and time that the bot was created.
- Parameters:
creationDateTime
- A timestamp of the date and time that the bot was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedDateTime
A timestamp of the date and time that the bot was last updated.
- Parameters:
lastUpdatedDateTime
- A timestamp of the date and time that the bot was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botType
The type of the bot that was updated.
- Parameters:
botType
- The type of the bot that was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
botType
The type of the bot that was updated.
- Parameters:
botType
- The type of the bot that was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
botMembers
The list of bot members in the network that was updated.
- Parameters:
botMembers
- The list of bot members in the network that was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botMembers
The list of bot members in the network that was updated.
- Parameters:
botMembers
- The list of bot members in the network that was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botMembers
The list of bot members in the network that was updated.
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:
-