Class BotVersionReference.Builder
java.lang.Object
software.amazon.awscdk.services.lex.BotVersionReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<BotVersionReference>
- Enclosing interface:
BotVersionReference
@Stability(Stable)
public static final class BotVersionReference.Builder
extends Object
implements software.amazon.jsii.Builder<BotVersionReference>
A builder for
BotVersionReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofBotVersionReference.getBotId()
botVersion
(String botVersion) Sets the value ofBotVersionReference.getBotVersion()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
botId
Sets the value ofBotVersionReference.getBotId()
- Parameters:
botId
- The BotId of the BotVersion resource. This parameter is required.- Returns:
this
-
botVersion
Sets the value ofBotVersionReference.getBotVersion()
- Parameters:
botVersion
- The BotVersion of the BotVersion resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<BotVersionReference>
- Returns:
- a new instance of
BotVersionReference
- Throws:
NullPointerException
- if any required attribute was not provided
-