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