Interface PutBotAliasResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<PutBotAliasResponse.Builder,
,PutBotAliasResponse> LexModelBuildingResponse.Builder
,SdkBuilder<PutBotAliasResponse.Builder,
,PutBotAliasResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
PutBotAliasResponse
-
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.The checksum for the current version of the alias.default PutBotAliasResponse.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 alias.lastUpdatedDate
(Instant lastUpdatedDate) The date that the bot alias was updated.The name of the alias.tags
(Collection<Tag> tags) A list of tags associated with a bot.tags
(Consumer<Tag.Builder>... tags) A list of tags associated with a bot.A list of tags associated with a bot.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 alias.
- Parameters:
name
- The name of the alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the alias.
- Parameters:
description
- A description of the 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
The checksum for the current version of the alias.
- Parameters:
checksum
- The checksum for the current version of the 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 PutBotAliasResponse.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:
-
tags
A list of tags associated with a bot.
- Parameters:
tags
- A list of tags associated with a bot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of tags associated with a bot.
- Parameters:
tags
- A list of tags associated with a bot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of tags associated with a bot.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-