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