Interface DescribeBotVersionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeBotVersionResponse.Builder,
,DescribeBotVersionResponse> LexModelsV2Response.Builder
,SdkBuilder<DescribeBotVersionResponse.Builder,
,DescribeBotVersionResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeBotVersionResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe identifier of the bot that contains the version.botMembers
(Collection<BotMember> botMembers) The members of bot network in the version that was described.botMembers
(Consumer<BotMember.Builder>... botMembers) The members of bot network in the version that was described.botMembers
(BotMember... botMembers) The members of bot network in the version that was described.The name of the bot that contains the version.The current status of the bot.The current status of the bot.The type of the bot in the version that was described.The type of the bot in the version that was described.botVersion
(String botVersion) The version of the bot that was described.creationDateTime
(Instant creationDateTime) A timestamp of the date and time that the bot version was created.dataPrivacy
(Consumer<DataPrivacy.Builder> dataPrivacy) Data privacy settings for the bot version.dataPrivacy
(DataPrivacy dataPrivacy) Data privacy settings for the bot version.description
(String description) The description specified for the bot.failureReasons
(String... failureReasons) If thebotStatus
isFailed
, this contains a list of reasons that the version couldn't be built.failureReasons
(Collection<String> failureReasons) If thebotStatus
isFailed
, this contains a list of reasons that the version couldn't be built.idleSessionTTLInSeconds
(Integer idleSessionTTLInSeconds) The number of seconds that a session with the bot remains active before it is discarded by Amazon Lex.parentBotNetworks
(Collection<ParentBotNetwork> parentBotNetworks) A list of the networks to which the bot version you described belongs.parentBotNetworks
(Consumer<ParentBotNetwork.Builder>... parentBotNetworks) A list of the networks to which the bot version you described belongs.parentBotNetworks
(ParentBotNetwork... parentBotNetworks) A list of the networks to which the bot version you described belongs.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 Details
-
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
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
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
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 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
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
Data privacy settings for the bot version.
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 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
The current status of the bot. When the status is
Available
, the bot version is ready for use.- Parameters:
botStatus
- The current status of the bot. When the status isAvailable
, the bot version is ready for use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
botStatus
The current status of the bot. When the status is
Available
, the bot version is ready for use.- Parameters:
botStatus
- The current status of the bot. When the status isAvailable
, the bot version is ready for use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failureReasons
If the
botStatus
isFailed
, this contains a list of reasons that the version couldn't be built.- Parameters:
failureReasons
- If thebotStatus
isFailed
, 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
If the
botStatus
isFailed
, this contains a list of reasons that the version couldn't be built.- Parameters:
failureReasons
- If thebotStatus
isFailed
, 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
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
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.Builder
avoiding the need to create one manually viaParentBotNetwork.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toparentBotNetworks(List<ParentBotNetwork>)
.- 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:
-
botType
The type of the bot in the version that was described.
- Parameters:
botType
- The type of the bot in the version that was described.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
botType
The type of the bot in the version that was described.
- Parameters:
botType
- The type of the bot in the version that was described.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
The members of bot network in the version that was described.
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:
-