Interface DescribeBotResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeBotResponse.Builder,DescribeBotResponse>,LexModelsV2Response.Builder,SdkBuilder<DescribeBotResponse.Builder,DescribeBotResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeBotResponse
public static interface DescribeBotResponse.Builder extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<DescribeBotResponse.Builder,DescribeBotResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DescribeBotResponse.BuilderbotId(String botId)The unique identifier of the bot.DescribeBotResponse.BuilderbotMembers(Collection<BotMember> botMembers)The list of bots in the network that was described.DescribeBotResponse.BuilderbotMembers(Consumer<BotMember.Builder>... botMembers)The list of bots in the network that was described.DescribeBotResponse.BuilderbotMembers(BotMember... botMembers)The list of bots in the network that was described.DescribeBotResponse.BuilderbotName(String botName)The name of the bot.DescribeBotResponse.BuilderbotStatus(String botStatus)The current status of the bot.DescribeBotResponse.BuilderbotStatus(BotStatus botStatus)The current status of the bot.DescribeBotResponse.BuilderbotType(String botType)The type of the bot that was described.DescribeBotResponse.BuilderbotType(BotType botType)The type of the bot that was described.DescribeBotResponse.BuildercreationDateTime(Instant creationDateTime)A timestamp of the date and time that the bot was created.default DescribeBotResponse.BuilderdataPrivacy(Consumer<DataPrivacy.Builder> dataPrivacy)Settings for managing data privacy of the bot and its conversations with users.DescribeBotResponse.BuilderdataPrivacy(DataPrivacy dataPrivacy)Settings for managing data privacy of the bot and its conversations with users.DescribeBotResponse.Builderdescription(String description)The description of the bot.DescribeBotResponse.BuilderfailureReasons(String... failureReasons)If thebotStatusisFailed, this contains a list of reasons that the bot couldn't be built.DescribeBotResponse.BuilderfailureReasons(Collection<String> failureReasons)If thebotStatusisFailed, this contains a list of reasons that the bot couldn't be built.DescribeBotResponse.BuilderidleSessionTTLInSeconds(Integer idleSessionTTLInSeconds)The maximum time in seconds that Amazon Lex retains the data gathered in a conversation.DescribeBotResponse.BuilderlastUpdatedDateTime(Instant lastUpdatedDateTime)A timestamp of the date and time that the bot was last updated.DescribeBotResponse.BuilderroleArn(String roleArn)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 Detail
-
botId
DescribeBotResponse.Builder botId(String 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
DescribeBotResponse.Builder botName(String 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
DescribeBotResponse.Builder description(String 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
DescribeBotResponse.Builder roleArn(String 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
DescribeBotResponse.Builder dataPrivacy(DataPrivacy 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
default DescribeBotResponse.Builder dataPrivacy(Consumer<DataPrivacy.Builder> 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.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
DescribeBotResponse.Builder idleSessionTTLInSeconds(Integer 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
DescribeBotResponse.Builder botStatus(String botStatus)
The current status of the bot. When the status is
Availablethe bot is ready to be used in conversations with users.
-
botStatus
DescribeBotResponse.Builder botStatus(BotStatus botStatus)
The current status of the bot. When the status is
Availablethe bot is ready to be used in conversations with users.
-
creationDateTime
DescribeBotResponse.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
DescribeBotResponse.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
DescribeBotResponse.Builder botType(String botType)
The type of the bot that was described.
-
botType
DescribeBotResponse.Builder botType(BotType botType)
The type of the bot that was described.
-
botMembers
DescribeBotResponse.Builder botMembers(Collection<BotMember> 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
DescribeBotResponse.Builder botMembers(BotMember... 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
DescribeBotResponse.Builder botMembers(Consumer<BotMember.Builder>... botMembers)
The list of bots in the network 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)
-
failureReasons
DescribeBotResponse.Builder failureReasons(Collection<String> failureReasons)
If the
botStatusisFailed, this contains a list of reasons that the bot couldn't be built.- Parameters:
failureReasons- If thebotStatusisFailed, 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
DescribeBotResponse.Builder failureReasons(String... failureReasons)
If the
botStatusisFailed, this contains a list of reasons that the bot couldn't be built.- Parameters:
failureReasons- If thebotStatusisFailed, 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.
-
-