Interface DescribeBotResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeBotResponse.Builder,
,DescribeBotResponse> LexModelsV2Response.Builder
,SdkBuilder<DescribeBotResponse.Builder,
,DescribeBotResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeBotResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe unique identifier of the bot.botMembers
(Collection<BotMember> botMembers) The list of bots in the network that was described.botMembers
(Consumer<BotMember.Builder>... botMembers) The list of bots in the network that was described.botMembers
(BotMember... botMembers) The list of bots in the network that was described.The name of the bot.The current status of the bot.The current status of the bot.The type of the bot that was described.The type of the bot that was described.creationDateTime
(Instant creationDateTime) A timestamp of the date and time that the bot was created.default DescribeBotResponse.Builder
dataPrivacy
(Consumer<DataPrivacy.Builder> dataPrivacy) Settings for managing data privacy of the bot and its conversations with users.dataPrivacy
(DataPrivacy dataPrivacy) Settings for managing data privacy of the bot and its conversations with users.description
(String description) The description of the bot.failureReasons
(String... failureReasons) If thebotStatus
isFailed
, this contains a list of reasons that the bot couldn't be built.failureReasons
(Collection<String> failureReasons) If thebotStatus
isFailed
, this contains a list of reasons that the bot couldn't be built.idleSessionTTLInSeconds
(Integer idleSessionTTLInSeconds) The maximum time in seconds that Amazon Lex retains the data gathered in a conversation.lastUpdatedDateTime
(Instant lastUpdatedDateTime) A timestamp of the date and time that the bot was last updated.The Amazon Resource Name (ARN) of an IAM role that has permission to access 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
The unique identifier of the bot.
- Parameters:
botId
- The unique identifier of the bot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botName
The name of the bot.
- Parameters:
botName
- The name of the bot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the bot.
- Parameters:
description
- The description of 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.
- Parameters:
roleArn
- The Amazon Resource Name (ARN) of an IAM role that has permission to access the bot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataPrivacy
Settings for managing data privacy of the bot and its conversations with users.
- Parameters:
dataPrivacy
- Settings for managing data privacy of the bot and its conversations with users.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataPrivacy
Settings for managing data privacy of the bot and its conversations with users.
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 maximum time in seconds that Amazon Lex retains the data gathered in a conversation.
- Parameters:
idleSessionTTLInSeconds
- The maximum time in seconds that Amazon Lex retains the data gathered in a conversation.- 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 is ready to be used in conversations with users.- Parameters:
botStatus
- The current status of the bot. When the status isAvailable
the bot is ready to be used in conversations with users.- 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 is ready to be used in conversations with users.- Parameters:
botStatus
- The current status of the bot. When the status isAvailable
the bot is ready to be used in conversations with users.- 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 described.
- Parameters:
botType
- The type of the bot 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 that was described.
- Parameters:
botType
- The type of the bot that was described.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
botMembers
The list of bots in the network that was described.
- Parameters:
botMembers
- The list of bots in the network that was described.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botMembers
The list of bots in the network that was described.
- Parameters:
botMembers
- The list of bots in the network that was described.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botMembers
The list of bots in the network 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:
-
failureReasons
If the
botStatus
isFailed
, this contains a list of reasons that the bot couldn't be built.- Parameters:
failureReasons
- If thebotStatus
isFailed
, this contains a list of reasons that the bot 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 bot couldn't be built.- Parameters:
failureReasons
- If thebotStatus
isFailed
, this contains a list of reasons that the bot couldn't be built.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-