@Stability(value=Stable) public static final class CfnBot.IntentConfirmationSettingProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnBot.IntentConfirmationSettingProperty>
CfnBot.IntentConfirmationSettingProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnBot.IntentConfirmationSettingProperty.Builder declinationResponse(CfnBot.ResponseSpecificationProperty declinationResponse)
CfnBot.IntentConfirmationSettingProperty.getDeclinationResponse()declinationResponse - When the user answers "no" to the question defined in PromptSpecification, Amazon Lex responds with this response to acknowledge that the intent was canceled. This parameter is required.this@Stability(value=Stable) public CfnBot.IntentConfirmationSettingProperty.Builder declinationResponse(IResolvable declinationResponse)
CfnBot.IntentConfirmationSettingProperty.getDeclinationResponse()declinationResponse - When the user answers "no" to the question defined in PromptSpecification, Amazon Lex responds with this response to acknowledge that the intent was canceled. This parameter is required.this@Stability(value=Stable) public CfnBot.IntentConfirmationSettingProperty.Builder promptSpecification(CfnBot.PromptSpecificationProperty promptSpecification)
CfnBot.IntentConfirmationSettingProperty.getPromptSpecification()promptSpecification - Prompts the user to confirm the intent. This parameter is required.
This question should have a yes or no answer.this@Stability(value=Stable) public CfnBot.IntentConfirmationSettingProperty.Builder promptSpecification(IResolvable promptSpecification)
CfnBot.IntentConfirmationSettingProperty.getPromptSpecification()promptSpecification - Prompts the user to confirm the intent. This parameter is required.
This question should have a yes or no answer.this@Stability(value=Stable) public CfnBot.IntentConfirmationSettingProperty.Builder isActive(Boolean isActive)
CfnBot.IntentConfirmationSettingProperty.getIsActive()isActive - Specifies whether the intent's confirmation is sent to the user.
When this field is false, confirmation and declination responses aren't sent and processing continues as if the responses aren't present. If the active field isn't specified, the default is true.this@Stability(value=Stable) public CfnBot.IntentConfirmationSettingProperty.Builder isActive(IResolvable isActive)
CfnBot.IntentConfirmationSettingProperty.getIsActive()isActive - Specifies whether the intent's confirmation is sent to the user.
When this field is false, confirmation and declination responses aren't sent and processing continues as if the responses aren't present. If the active field isn't specified, the default is true.this@Stability(value=Stable) public CfnBot.IntentConfirmationSettingProperty build()
build in interface software.amazon.jsii.Builder<CfnBot.IntentConfirmationSettingProperty>CfnBot.IntentConfirmationSettingPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.