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