public static final class CfnBot.MessageGroupProperty.Builder
extends java.lang.Object
CfnBot.MessageGroupProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnBot.MessageGroupProperty |
build()
Builds the configured instance.
|
CfnBot.MessageGroupProperty.Builder |
message(CfnBot.MessageProperty message)
Sets the value of
CfnBot.MessageGroupProperty.getMessage() |
CfnBot.MessageGroupProperty.Builder |
message(IResolvable message)
Sets the value of
CfnBot.MessageGroupProperty.getMessage() |
CfnBot.MessageGroupProperty.Builder |
variations(IResolvable variations)
Sets the value of
CfnBot.MessageGroupProperty.getVariations() |
CfnBot.MessageGroupProperty.Builder |
variations(java.util.List<? extends java.lang.Object> variations)
Sets the value of
CfnBot.MessageGroupProperty.getVariations() |
public CfnBot.MessageGroupProperty.Builder message(IResolvable message)
CfnBot.MessageGroupProperty.getMessage()
message
- The primary message that Amazon Lex should send to the user. This parameter is required.this
public CfnBot.MessageGroupProperty.Builder message(CfnBot.MessageProperty message)
CfnBot.MessageGroupProperty.getMessage()
message
- The primary message that Amazon Lex should send to the user. This parameter is required.this
public CfnBot.MessageGroupProperty.Builder variations(IResolvable variations)
CfnBot.MessageGroupProperty.getVariations()
variations
- Message variations to send to the user.
When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user.this
public CfnBot.MessageGroupProperty.Builder variations(java.util.List<? extends java.lang.Object> variations)
CfnBot.MessageGroupProperty.getVariations()
variations
- Message variations to send to the user.
When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user.this
public CfnBot.MessageGroupProperty build()
CfnBot.MessageGroupProperty
java.lang.NullPointerException
- if any required attribute was not provided