Class CfnBot.SubSlotTypeCompositionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lex.CfnBot.SubSlotTypeCompositionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBot.SubSlotTypeCompositionProperty>
- Enclosing interface:
CfnBot.SubSlotTypeCompositionProperty
@Stability(Stable)
public static final class CfnBot.SubSlotTypeCompositionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBot.SubSlotTypeCompositionProperty>
A builder for
CfnBot.SubSlotTypeCompositionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnBot.SubSlotTypeCompositionProperty.getName()slotTypeId(String slotTypeId) Sets the value ofCfnBot.SubSlotTypeCompositionProperty.getSlotTypeId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnBot.SubSlotTypeCompositionProperty.getName()- Parameters:
name- Name of a constituent sub slot inside a composite slot. This parameter is required.- Returns:
this
-
slotTypeId
@Stability(Stable) public CfnBot.SubSlotTypeCompositionProperty.Builder slotTypeId(String slotTypeId) Sets the value ofCfnBot.SubSlotTypeCompositionProperty.getSlotTypeId()- Parameters:
slotTypeId- The unique identifier assigned to a slot type. This parameter is required. This refers to either a built-in slot type or the unique slotTypeId of a custom slot type.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBot.SubSlotTypeCompositionProperty>- Returns:
- a new instance of
CfnBot.SubSlotTypeCompositionProperty - Throws:
NullPointerException- if any required attribute was not provided
-