Interface CreateBotVersionResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateBotVersionResponse.Builder,CreateBotVersionResponse>,LexModelsV2Response.Builder,SdkBuilder<CreateBotVersionResponse.Builder,CreateBotVersionResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateBotVersionResponse
public static interface CreateBotVersionResponse.Builder extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<CreateBotVersionResponse.Builder,CreateBotVersionResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateBotVersionResponse.BuilderbotId(String botId)The bot identifier specified in the request.CreateBotVersionResponse.BuilderbotStatus(String botStatus)When you send a request to create or update a bot, Amazon Lex sets the status response element toCreating.CreateBotVersionResponse.BuilderbotStatus(BotStatus botStatus)When you send a request to create or update a bot, Amazon Lex sets the status response element toCreating.CreateBotVersionResponse.BuilderbotVersion(String botVersion)The version number assigned to the version.CreateBotVersionResponse.BuilderbotVersionLocaleSpecification(Map<String,BotVersionLocaleDetails> botVersionLocaleSpecification)The source versions used for each locale in the new version.CreateBotVersionResponse.BuildercreationDateTime(Instant creationDateTime)A timestamp of the date and time that the version was created.CreateBotVersionResponse.Builderdescription(String description)The description of the version specified in the request.-
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
CreateBotVersionResponse.Builder botId(String botId)
The bot identifier specified in the request.
- Parameters:
botId- The bot identifier specified in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
CreateBotVersionResponse.Builder description(String description)
The description of the version specified in the request.
- Parameters:
description- The description of the version specified in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botVersion
CreateBotVersionResponse.Builder botVersion(String botVersion)
The version number assigned to the version.
- Parameters:
botVersion- The version number assigned to the version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botVersionLocaleSpecification
CreateBotVersionResponse.Builder botVersionLocaleSpecification(Map<String,BotVersionLocaleDetails> botVersionLocaleSpecification)
The source versions used for each locale in the new version.
- Parameters:
botVersionLocaleSpecification- The source versions used for each locale in the new version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botStatus
CreateBotVersionResponse.Builder botStatus(String botStatus)
When you send a request to create or update a bot, Amazon Lex sets the status response element to
Creating. After Amazon Lex builds the bot, it sets status toAvailable. If Amazon Lex can't build the bot, it sets status toFailed.- Parameters:
botStatus- When you send a request to create or update a bot, Amazon Lex sets the status response element toCreating. After Amazon Lex builds the bot, it sets status toAvailable. If Amazon Lex can't build the bot, it sets status toFailed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
BotStatus,BotStatus
-
botStatus
CreateBotVersionResponse.Builder botStatus(BotStatus botStatus)
When you send a request to create or update a bot, Amazon Lex sets the status response element to
Creating. After Amazon Lex builds the bot, it sets status toAvailable. If Amazon Lex can't build the bot, it sets status toFailed.- Parameters:
botStatus- When you send a request to create or update a bot, Amazon Lex sets the status response element toCreating. After Amazon Lex builds the bot, it sets status toAvailable. If Amazon Lex can't build the bot, it sets status toFailed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
BotStatus,BotStatus
-
creationDateTime
CreateBotVersionResponse.Builder creationDateTime(Instant creationDateTime)
A timestamp of the date and time that the version was created.
- Parameters:
creationDateTime- A timestamp of the date and time that the version was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-