@Stability(value=Stable) public static final class CfnBot.MessageGroupProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnBot.MessageGroupProperty>
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(List<? extends Object> variations)
Sets the value of
CfnBot.MessageGroupProperty.getVariations() |
@Stability(value=Stable) 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@Stability(value=Stable) 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@Stability(value=Stable) 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@Stability(value=Stable) public CfnBot.MessageGroupProperty.Builder variations(List<? extends 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@Stability(value=Stable) public CfnBot.MessageGroupProperty build()
build in interface software.amazon.jsii.Builder<CfnBot.MessageGroupProperty>CfnBot.MessageGroupPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.