Class BotAliasReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.lex.BotAliasReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<BotAliasReference>
- Enclosing interface:
BotAliasReference
@Stability(Stable)
public static final class BotAliasReference.Builder
extends Object
implements software.amazon.jsii.Builder<BotAliasReference>
A builder for
BotAliasReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbotAliasArn(String botAliasArn) Sets the value ofBotAliasReference.getBotAliasArn()botAliasId(String botAliasId) Sets the value ofBotAliasReference.getBotAliasId()Sets the value ofBotAliasReference.getBotId()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
botAliasArn
Sets the value ofBotAliasReference.getBotAliasArn()- Parameters:
botAliasArn- The ARN of the BotAlias resource. This parameter is required.- Returns:
this
-
botAliasId
Sets the value ofBotAliasReference.getBotAliasId()- Parameters:
botAliasId- The BotAliasId of the BotAlias resource. This parameter is required.- Returns:
this
-
botId
Sets the value ofBotAliasReference.getBotId()- Parameters:
botId- The BotId of the BotAlias resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<BotAliasReference>- Returns:
- a new instance of
BotAliasReference - Throws:
NullPointerException- if any required attribute was not provided
-