Package com.pulumi.aws.lex.outputs
Class V2modelsIntentConfirmationSetting
- java.lang.Object
-
- com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSetting
-
public final class V2modelsIntentConfirmationSetting extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
V2modelsIntentConfirmationSetting.Builder
-
Method Summary
-
-
-
Method Detail
-
active
public java.util.Optional<java.lang.Boolean> active()
- Returns:
- Whether the intent's confirmation is sent to the user. When this field is false, confirmation and declination responses aren't sent. If the active field isn't specified, the default is true.
-
codeHook
public java.util.Optional<V2modelsIntentConfirmationSettingCodeHook> codeHook()
- Returns:
- Configuration block for the intent's confirmation step. The dialog code hook is triggered based on these invocation settings when the confirmation next step or declination next step or failure next step is `invoke_dialog_code_hook`. See `code_hook`.
-
confirmationConditional
public java.util.Optional<V2modelsIntentConfirmationSettingConfirmationConditional> confirmationConditional()
- Returns:
- Configuration block for conditional branches to evaluate after the intent is closed. See `confirmation_conditional`.
-
confirmationNextStep
public java.util.Optional<V2modelsIntentConfirmationSettingConfirmationNextStep> confirmationNextStep()
- Returns:
- Configuration block for the next step that the bot executes when the customer confirms the intent. See `confirmation_next_step`.
-
confirmationResponse
public java.util.Optional<V2modelsIntentConfirmationSettingConfirmationResponse> confirmationResponse()
- Returns:
- Configuration block for message groups that Amazon Lex uses to respond the user input. See `confirmation_response`.
-
declinationConditional
public java.util.Optional<V2modelsIntentConfirmationSettingDeclinationConditional> declinationConditional()
- Returns:
- Configuration block for conditional branches to evaluate after the intent is declined. See `declination_conditional`.
-
declinationNextStep
public java.util.Optional<V2modelsIntentConfirmationSettingDeclinationNextStep> declinationNextStep()
- Returns:
- Configuration block for the next step that the bot executes when the customer declines the intent. See `declination_next_step`.
-
declinationResponse
public java.util.Optional<V2modelsIntentConfirmationSettingDeclinationResponse> declinationResponse()
- Returns:
- Configuration block for when the user answers "no" to the question defined in `prompt_specification`, Amazon Lex responds with this response to acknowledge that the intent was canceled. See `declination_response`.
-
elicitationCodeHook
public java.util.Optional<V2modelsIntentConfirmationSettingElicitationCodeHook> elicitationCodeHook()
- Returns:
- Configuration block for when the code hook is invoked during confirmation prompt retries. See `elicitation_code_hook`.
-
failureConditional
public java.util.Optional<V2modelsIntentConfirmationSettingFailureConditional> failureConditional()
- Returns:
- Configuration block for conditional branches. Branches are evaluated in the order that they are entered in the list. The first branch with a condition that evaluates to true is executed. The last branch in the list is the default branch. The default branch should not have any condition expression. The default branch is executed if no other branch has a matching condition. See `failure_conditional`.
-
failureNextStep
public java.util.Optional<V2modelsIntentConfirmationSettingFailureNextStep> failureNextStep()
- Returns:
- Configuration block for the next step to take in the conversation if the confirmation step fails. See `failure_next_step`.
-
failureResponse
public java.util.Optional<V2modelsIntentConfirmationSettingFailureResponse> failureResponse()
- Returns:
- Configuration block for message groups that Amazon Lex uses to respond the user input. See `failure_response`.
-
promptSpecification
public V2modelsIntentConfirmationSettingPromptSpecification promptSpecification()
- Returns:
- Configuration block for prompting the user to confirm the intent. This question should have a yes or no answer. Amazon Lex uses this prompt to ensure that the user acknowledges that the intent is ready for fulfillment. See `prompt_specification`.
-
builder
public static V2modelsIntentConfirmationSetting.Builder builder()
-
builder
public static V2modelsIntentConfirmationSetting.Builder builder(V2modelsIntentConfirmationSetting defaults)
-
-