Class CfnBotPropsMixin.SampleUtteranceProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lex.CfnBotPropsMixin.SampleUtteranceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBotPropsMixin.SampleUtteranceProperty>
- Enclosing interface:
CfnBotPropsMixin.SampleUtteranceProperty
@Stability(Stable)
public static final class CfnBotPropsMixin.SampleUtteranceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBotPropsMixin.SampleUtteranceProperty>
A builder for
CfnBotPropsMixin.SampleUtteranceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnBotPropsMixin.SampleUtteranceProperty.getUtterance()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
utterance
@Stability(Stable) public CfnBotPropsMixin.SampleUtteranceProperty.Builder utterance(String utterance) Sets the value ofCfnBotPropsMixin.SampleUtteranceProperty.getUtterance()- Parameters:
utterance- A sample utterance that invokes an intent or respond to a slot elicitation prompt.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBotPropsMixin.SampleUtteranceProperty>- Returns:
- a new instance of
CfnBotPropsMixin.SampleUtteranceProperty - Throws:
NullPointerException- if any required attribute was not provided
-