Interface BotAliasMetadata.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BotAliasMetadata.Builder,
,BotAliasMetadata> SdkBuilder<BotAliasMetadata.Builder,
,BotAliasMetadata> SdkPojo
- Enclosing class:
BotAliasMetadata
public static interface BotAliasMetadata.Builder
extends SdkPojo, CopyableBuilder<BotAliasMetadata.Builder,BotAliasMetadata>
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the bot to which the alias points.botVersion
(String botVersion) The version of the Amazon Lex bot to which the alias points.Checksum of the bot alias.default BotAliasMetadata.Builder
conversationLogs
(Consumer<ConversationLogsResponse.Builder> conversationLogs) Settings that determine how Amazon Lex uses conversation logs for the alias.conversationLogs
(ConversationLogsResponse conversationLogs) 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.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
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 Amazon Lex bot to which the alias points.
- Parameters:
botVersion
- The version of the Amazon Lex bot to which the alias points.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botName
The name of the bot to which the alias points.
- Parameters:
botName
- The name of the bot to which the alias points.- 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 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 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
Settings that determine how Amazon Lex uses conversation logs for the alias.
- Parameters:
conversationLogs
- 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 BotAliasMetadata.Builder conversationLogs(Consumer<ConversationLogsResponse.Builder> conversationLogs) 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:
-