Interface UpdateBotResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateBotResponse.Builder,UpdateBotResponse>,LexModelsV2Response.Builder,SdkBuilder<UpdateBotResponse.Builder,UpdateBotResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- UpdateBotResponse
public static interface UpdateBotResponse.Builder extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<UpdateBotResponse.Builder,UpdateBotResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateBotResponse.BuilderbotId(String botId)The unique identifier of the bot that was updated.UpdateBotResponse.BuilderbotMembers(Collection<BotMember> botMembers)The list of bot members in the network that was updated.UpdateBotResponse.BuilderbotMembers(Consumer<BotMember.Builder>... botMembers)The list of bot members in the network that was updated.UpdateBotResponse.BuilderbotMembers(BotMember... botMembers)The list of bot members in the network that was updated.UpdateBotResponse.BuilderbotName(String botName)The name of the bot after the update.UpdateBotResponse.BuilderbotStatus(String botStatus)Shows the current status of the bot.UpdateBotResponse.BuilderbotStatus(BotStatus botStatus)Shows the current status of the bot.UpdateBotResponse.BuilderbotType(String botType)The type of the bot that was updated.UpdateBotResponse.BuilderbotType(BotType botType)The type of the bot that was updated.UpdateBotResponse.BuildercreationDateTime(Instant creationDateTime)A timestamp of the date and time that the bot was created.default UpdateBotResponse.BuilderdataPrivacy(Consumer<DataPrivacy.Builder> dataPrivacy)The data privacy settings for the bot after the update.UpdateBotResponse.BuilderdataPrivacy(DataPrivacy dataPrivacy)The data privacy settings for the bot after the update.UpdateBotResponse.Builderdescription(String description)The description of the bot after the update.UpdateBotResponse.BuilderidleSessionTTLInSeconds(Integer idleSessionTTLInSeconds)The session timeout, in seconds, for the bot after the update.UpdateBotResponse.BuilderlastUpdatedDateTime(Instant lastUpdatedDateTime)A timestamp of the date and time that the bot was last updated.UpdateBotResponse.BuilderroleArn(String roleArn)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 Detail
-
botId
UpdateBotResponse.Builder botId(String 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
UpdateBotResponse.Builder botName(String 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
UpdateBotResponse.Builder description(String 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
UpdateBotResponse.Builder roleArn(String 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
UpdateBotResponse.Builder dataPrivacy(DataPrivacy 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
default UpdateBotResponse.Builder dataPrivacy(Consumer<DataPrivacy.Builder> dataPrivacy)
The data privacy settings for the bot after the update.
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
UpdateBotResponse.Builder idleSessionTTLInSeconds(Integer 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
UpdateBotResponse.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
UpdateBotResponse.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
UpdateBotResponse.Builder creationDateTime(Instant 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
UpdateBotResponse.Builder lastUpdatedDateTime(Instant 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
UpdateBotResponse.Builder botType(String botType)
The type of the bot that was updated.
-
botType
UpdateBotResponse.Builder botType(BotType botType)
The type of the bot that was updated.
-
botMembers
UpdateBotResponse.Builder botMembers(Collection<BotMember> 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
UpdateBotResponse.Builder botMembers(BotMember... 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
UpdateBotResponse.Builder botMembers(Consumer<BotMember.Builder>... botMembers)
The list of bot members in the network that was updated.
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)
-
-