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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description BotAliasMetadata.BuilderbotName(String botName)The name of the bot to which the alias points.BotAliasMetadata.BuilderbotVersion(String botVersion)The version of the Amazon Lex bot to which the alias points.BotAliasMetadata.Builderchecksum(String checksum)Checksum of the bot alias.default BotAliasMetadata.BuilderconversationLogs(Consumer<ConversationLogsResponse.Builder> conversationLogs)Settings that determine how Amazon Lex uses conversation logs for the alias.BotAliasMetadata.BuilderconversationLogs(ConversationLogsResponse conversationLogs)Settings that determine how Amazon Lex uses conversation logs for the alias.BotAliasMetadata.BuildercreatedDate(Instant createdDate)The date that the bot alias was created.BotAliasMetadata.Builderdescription(String description)A description of the bot alias.BotAliasMetadata.BuilderlastUpdatedDate(Instant lastUpdatedDate)The date that the bot alias was updated.BotAliasMetadata.Buildername(String name)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
name
BotAliasMetadata.Builder name(String 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
BotAliasMetadata.Builder description(String 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
BotAliasMetadata.Builder botVersion(String 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
BotAliasMetadata.Builder botName(String 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
BotAliasMetadata.Builder lastUpdatedDate(Instant 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
BotAliasMetadata.Builder createdDate(Instant 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
BotAliasMetadata.Builder checksum(String 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
BotAliasMetadata.Builder conversationLogs(ConversationLogsResponse 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.Builderavoiding the need to create one manually viaConversationLogsResponse.builder().When the
Consumercompletes,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:
conversationLogs(ConversationLogsResponse)
-
-