Class CfnBotPropsMixin.PlainTextMessageProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lex.CfnBotPropsMixin.PlainTextMessageProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBotPropsMixin.PlainTextMessageProperty>
- Enclosing interface:
CfnBotPropsMixin.PlainTextMessageProperty
@Stability(Stable)
public static final class CfnBotPropsMixin.PlainTextMessageProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBotPropsMixin.PlainTextMessageProperty>
A builder for
CfnBotPropsMixin.PlainTextMessageProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnBotPropsMixin.PlainTextMessageProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
value
Sets the value ofCfnBotPropsMixin.PlainTextMessageProperty.getValue()- Parameters:
value- The message to send to the user.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBotPropsMixin.PlainTextMessageProperty>- Returns:
- a new instance of
CfnBotPropsMixin.PlainTextMessageProperty - Throws:
NullPointerException- if any required attribute was not provided
-