Class CfnBot.SampleValueProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lex.CfnBot.SampleValueProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBot.SampleValueProperty>
- Enclosing interface:
CfnBot.SampleValueProperty
@Stability(Stable)
public static final class CfnBot.SampleValueProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBot.SampleValueProperty>
A builder for
CfnBot.SampleValueProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnBot.SampleValueProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
value
Sets the value ofCfnBot.SampleValueProperty.getValue()
- Parameters:
value
- The value that can be used for a slot type. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnBot.SampleValueProperty>
- Returns:
- a new instance of
CfnBot.SampleValueProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-