Class CfnBot.BotMemberProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lex.CfnBot.BotMemberProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBot.BotMemberProperty>
- Enclosing interface:
CfnBot.BotMemberProperty
@Stability(Stable)
public static final class CfnBot.BotMemberProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBot.BotMemberProperty>
A builder for
CfnBot.BotMemberProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbotMemberAliasId(String botMemberAliasId) Sets the value ofCfnBot.BotMemberProperty.getBotMemberAliasId()botMemberAliasName(String botMemberAliasName) Sets the value ofCfnBot.BotMemberProperty.getBotMemberAliasName()botMemberId(String botMemberId) Sets the value ofCfnBot.BotMemberProperty.getBotMemberId()botMemberName(String botMemberName) Sets the value ofCfnBot.BotMemberProperty.getBotMemberName()botMemberVersion(String botMemberVersion) Sets the value ofCfnBot.BotMemberProperty.getBotMemberVersion()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
botMemberAliasId
@Stability(Stable) public CfnBot.BotMemberProperty.Builder botMemberAliasId(String botMemberAliasId) Sets the value ofCfnBot.BotMemberProperty.getBotMemberAliasId()- Parameters:
botMemberAliasId- The alias ID of a bot that is a member of this network of bots. This parameter is required.- Returns:
this
-
botMemberAliasName
@Stability(Stable) public CfnBot.BotMemberProperty.Builder botMemberAliasName(String botMemberAliasName) Sets the value ofCfnBot.BotMemberProperty.getBotMemberAliasName()- Parameters:
botMemberAliasName- The alias name of a bot that is a member of this network of bots. This parameter is required.- Returns:
this
-
botMemberId
Sets the value ofCfnBot.BotMemberProperty.getBotMemberId()- Parameters:
botMemberId- The unique ID of a bot that is a member of this network of bots. This parameter is required.- Returns:
this
-
botMemberName
Sets the value ofCfnBot.BotMemberProperty.getBotMemberName()- Parameters:
botMemberName- The unique name of a bot that is a member of this network of bots. This parameter is required.- Returns:
this
-
botMemberVersion
@Stability(Stable) public CfnBot.BotMemberProperty.Builder botMemberVersion(String botMemberVersion) Sets the value ofCfnBot.BotMemberProperty.getBotMemberVersion()- Parameters:
botMemberVersion- The version of a bot that is a member of this network of bots. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBot.BotMemberProperty>- Returns:
- a new instance of
CfnBot.BotMemberProperty - Throws:
NullPointerException- if any required attribute was not provided
-