Interface DescribeBotVersionResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeBotVersionResponse.Builder,DescribeBotVersionResponse>,LexModelsV2Response.Builder,SdkBuilder<DescribeBotVersionResponse.Builder,DescribeBotVersionResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeBotVersionResponse
public static interface DescribeBotVersionResponse.Builder extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<DescribeBotVersionResponse.Builder,DescribeBotVersionResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DescribeBotVersionResponse.BuilderbotId(String botId)The identifier of the bot that contains the version.DescribeBotVersionResponse.BuilderbotMembers(Collection<BotMember> botMembers)The members of bot network in the version that was described.DescribeBotVersionResponse.BuilderbotMembers(Consumer<BotMember.Builder>... botMembers)The members of bot network in the version that was described.DescribeBotVersionResponse.BuilderbotMembers(BotMember... botMembers)The members of bot network in the version that was described.DescribeBotVersionResponse.BuilderbotName(String botName)The name of the bot that contains the version.DescribeBotVersionResponse.BuilderbotStatus(String botStatus)The current status of the bot.DescribeBotVersionResponse.BuilderbotStatus(BotStatus botStatus)The current status of the bot.DescribeBotVersionResponse.BuilderbotType(String botType)The type of the bot in the version that was described.DescribeBotVersionResponse.BuilderbotType(BotType botType)The type of the bot in the version that was described.DescribeBotVersionResponse.BuilderbotVersion(String botVersion)The version of the bot that was described.DescribeBotVersionResponse.BuildercreationDateTime(Instant creationDateTime)A timestamp of the date and time that the bot version was created.default DescribeBotVersionResponse.BuilderdataPrivacy(Consumer<DataPrivacy.Builder> dataPrivacy)Data privacy settings for the bot version.DescribeBotVersionResponse.BuilderdataPrivacy(DataPrivacy dataPrivacy)Data privacy settings for the bot version.DescribeBotVersionResponse.Builderdescription(String description)The description specified for the bot.DescribeBotVersionResponse.BuilderfailureReasons(String... failureReasons)If thebotStatusisFailed, this contains a list of reasons that the version couldn't be built.DescribeBotVersionResponse.BuilderfailureReasons(Collection<String> failureReasons)If thebotStatusisFailed, this contains a list of reasons that the version couldn't be built.DescribeBotVersionResponse.BuilderidleSessionTTLInSeconds(Integer idleSessionTTLInSeconds)The number of seconds that a session with the bot remains active before it is discarded by Amazon Lex.DescribeBotVersionResponse.BuilderparentBotNetworks(Collection<ParentBotNetwork> parentBotNetworks)A list of the networks to which the bot version you described belongs.DescribeBotVersionResponse.BuilderparentBotNetworks(Consumer<ParentBotNetwork.Builder>... parentBotNetworks)A list of the networks to which the bot version you described belongs.DescribeBotVersionResponse.BuilderparentBotNetworks(ParentBotNetwork... parentBotNetworks)A list of the networks to which the bot version you described belongs.DescribeBotVersionResponse.BuilderroleArn(String roleArn)The Amazon Resource Name (ARN) of an IAM role that has permission to access the bot version.-
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
DescribeBotVersionResponse.Builder botId(String botId)
The identifier of the bot that contains the version.
- Parameters:
botId- The identifier of the bot that contains the version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botName
DescribeBotVersionResponse.Builder botName(String botName)
The name of the bot that contains the version.
- Parameters:
botName- The name of the bot that contains the version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botVersion
DescribeBotVersionResponse.Builder botVersion(String botVersion)
The version of the bot that was described.
- Parameters:
botVersion- The version of the bot that was described.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
DescribeBotVersionResponse.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
DescribeBotVersionResponse.Builder roleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that has permission to access the bot version.
- Parameters:
roleArn- The Amazon Resource Name (ARN) of an IAM role that has permission to access the bot version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataPrivacy
DescribeBotVersionResponse.Builder dataPrivacy(DataPrivacy dataPrivacy)
Data privacy settings for the bot version.
- Parameters:
dataPrivacy- Data privacy settings for the bot version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataPrivacy
default DescribeBotVersionResponse.Builder dataPrivacy(Consumer<DataPrivacy.Builder> dataPrivacy)
Data privacy settings for the bot version.
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
DescribeBotVersionResponse.Builder idleSessionTTLInSeconds(Integer idleSessionTTLInSeconds)
The number of seconds that a session with the bot remains active before it is discarded by Amazon Lex.
- Parameters:
idleSessionTTLInSeconds- The number of seconds that a session with the bot remains active before it is discarded by Amazon Lex.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botStatus
DescribeBotVersionResponse.Builder botStatus(String botStatus)
The current status of the bot. When the status is
Available, the bot version is ready for use.
-
botStatus
DescribeBotVersionResponse.Builder botStatus(BotStatus botStatus)
The current status of the bot. When the status is
Available, the bot version is ready for use.
-
failureReasons
DescribeBotVersionResponse.Builder failureReasons(Collection<String> failureReasons)
If the
botStatusisFailed, this contains a list of reasons that the version couldn't be built.- Parameters:
failureReasons- If thebotStatusisFailed, this contains a list of reasons that the version couldn't be built.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureReasons
DescribeBotVersionResponse.Builder failureReasons(String... failureReasons)
If the
botStatusisFailed, this contains a list of reasons that the version couldn't be built.- Parameters:
failureReasons- If thebotStatusisFailed, this contains a list of reasons that the version couldn't be built.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationDateTime
DescribeBotVersionResponse.Builder creationDateTime(Instant creationDateTime)
A timestamp of the date and time that the bot version was created.
- Parameters:
creationDateTime- A timestamp of the date and time that the bot version was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parentBotNetworks
DescribeBotVersionResponse.Builder parentBotNetworks(Collection<ParentBotNetwork> parentBotNetworks)
A list of the networks to which the bot version you described belongs.
- Parameters:
parentBotNetworks- A list of the networks to which the bot version you described belongs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parentBotNetworks
DescribeBotVersionResponse.Builder parentBotNetworks(ParentBotNetwork... parentBotNetworks)
A list of the networks to which the bot version you described belongs.
- Parameters:
parentBotNetworks- A list of the networks to which the bot version you described belongs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parentBotNetworks
DescribeBotVersionResponse.Builder parentBotNetworks(Consumer<ParentBotNetwork.Builder>... parentBotNetworks)
A list of the networks to which the bot version you described belongs.
This is a convenience method that creates an instance of theParentBotNetwork.Builderavoiding the need to create one manually viaParentBotNetwork.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#parentBotNetworks(List.) - Parameters:
parentBotNetworks- a consumer that will call methods onParentBotNetwork.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#parentBotNetworks(java.util.Collection)
-
botType
DescribeBotVersionResponse.Builder botType(String botType)
The type of the bot in the version that was described.
-
botType
DescribeBotVersionResponse.Builder botType(BotType botType)
The type of the bot in the version that was described.
-
botMembers
DescribeBotVersionResponse.Builder botMembers(Collection<BotMember> botMembers)
The members of bot network in the version that was described.
- Parameters:
botMembers- The members of bot network in the version that was described.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botMembers
DescribeBotVersionResponse.Builder botMembers(BotMember... botMembers)
The members of bot network in the version that was described.
- Parameters:
botMembers- The members of bot network in the version that was described.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botMembers
DescribeBotVersionResponse.Builder botMembers(Consumer<BotMember.Builder>... botMembers)
The members of bot network in the version that was described.
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)
-
-