Interface GetBotAliasResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetBotAliasResponse.Builder,
,GetBotAliasResponse> LexModelBuildingResponse.Builder
,SdkBuilder<GetBotAliasResponse.Builder,
,GetBotAliasResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetBotAliasResponse
public static interface GetBotAliasResponse.Builder
extends LexModelBuildingResponse.Builder, SdkPojo, CopyableBuilder<GetBotAliasResponse.Builder,GetBotAliasResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the bot that the alias points to.botVersion
(String botVersion) The version of the bot that the alias points to.Checksum of the bot alias.default GetBotAliasResponse.Builder
conversationLogs
(Consumer<ConversationLogsResponse.Builder> conversationLogs) The settings that determine how Amazon Lex uses conversation logs for the alias.conversationLogs
(ConversationLogsResponse conversationLogs) The settings that determine how Amazon Lex uses conversation logs for the alias.createdDate
(Instant createdDate) The date that the bot alias was created.description
(String description) A description of the bot alias.lastUpdatedDate
(Instant lastUpdatedDate) The date that the bot alias was updated.The name of the bot alias.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.lexmodelbuilding.model.LexModelBuildingResponse.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
-
name
The name of the bot alias.
- Parameters:
name
- The name of the bot alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the bot alias.
- Parameters:
description
- A description of the bot alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botVersion
The version of the bot that the alias points to.
- Parameters:
botVersion
- The version of the bot that the alias points to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botName
The name of the bot that the alias points to.
- Parameters:
botName
- The name of the bot that the alias points to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedDate
The date that the bot alias was updated. When you create a resource, the creation date and the last updated date are the same.
- Parameters:
lastUpdatedDate
- The date that the bot alias was updated. When you create a resource, the creation date and the last updated date are the same.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdDate
The date that the bot alias was created.
- Parameters:
createdDate
- The date that the bot alias was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
checksum
Checksum of the bot alias.
- Parameters:
checksum
- Checksum of the bot alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conversationLogs
The settings that determine how Amazon Lex uses conversation logs for the alias.
- Parameters:
conversationLogs
- The settings that determine how Amazon Lex uses conversation logs for the alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conversationLogs
default GetBotAliasResponse.Builder conversationLogs(Consumer<ConversationLogsResponse.Builder> conversationLogs) The settings that determine how Amazon Lex uses conversation logs for the alias.
This is a convenience method that creates an instance of theConversationLogsResponse.Builder
avoiding the need to create one manually viaConversationLogsResponse.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconversationLogs(ConversationLogsResponse)
.- Parameters:
conversationLogs
- a consumer that will call methods onConversationLogsResponse.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-