All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

The newest version!
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.aws.lex.inputs;

import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalArgs;
import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureNextStepArgs;
import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseArgs;
import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalArgs;
import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessNextStepArgs;
import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseArgs;
import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalArgs;
import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutNextStepArgs;
import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationArgs extends com.pulumi.resources.ResourceArgs {

    public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationArgs();

    /**
     * Configuration block for conditional branches to evaluate after the dialog code hook throws an exception or returns with the State field of the Intent object set to Failed.
     * 
     */
    @Import(name="failureConditional")
    private @Nullable Output failureConditional;

    /**
     * @return Configuration block for conditional branches to evaluate after the dialog code hook throws an exception or returns with the State field of the Intent object set to Failed.
     * 
     */
    public Optional> failureConditional() {
        return Optional.ofNullable(this.failureConditional);
    }

    /**
     * Configuration block for the next step the bot runs after the dialog code hook throws an exception or returns with the State field of the Intent object set to Failed . See `failure_next_step`.
     * 
     */
    @Import(name="failureNextStep")
    private @Nullable Output failureNextStep;

    /**
     * @return Configuration block for the next step the bot runs after the dialog code hook throws an exception or returns with the State field of the Intent object set to Failed . See `failure_next_step`.
     * 
     */
    public Optional> failureNextStep() {
        return Optional.ofNullable(this.failureNextStep);
    }

    /**
     * Configuration block for message groups that Amazon Lex uses to respond the user input. See `failure_response`.
     * 
     */
    @Import(name="failureResponse")
    private @Nullable Output failureResponse;

    /**
     * @return Configuration block for message groups that Amazon Lex uses to respond the user input. See `failure_response`.
     * 
     */
    public Optional> failureResponse() {
        return Optional.ofNullable(this.failureResponse);
    }

    /**
     * Configuration block for conditional branches to evaluate after the dialog code hook finishes successfully. See `success_conditional`.
     * 
     */
    @Import(name="successConditional")
    private @Nullable Output successConditional;

    /**
     * @return Configuration block for conditional branches to evaluate after the dialog code hook finishes successfully. See `success_conditional`.
     * 
     */
    public Optional> successConditional() {
        return Optional.ofNullable(this.successConditional);
    }

    /**
     * Configuration block for the next step the bot runs after the dialog code hook finishes successfully. See `success_next_step`.
     * 
     */
    @Import(name="successNextStep")
    private @Nullable Output successNextStep;

    /**
     * @return Configuration block for the next step the bot runs after the dialog code hook finishes successfully. See `success_next_step`.
     * 
     */
    public Optional> successNextStep() {
        return Optional.ofNullable(this.successNextStep);
    }

    /**
     * Configuration block for message groups that Amazon Lex uses to respond the user input. See `success_response`.
     * 
     */
    @Import(name="successResponse")
    private @Nullable Output successResponse;

    /**
     * @return Configuration block for message groups that Amazon Lex uses to respond the user input. See `success_response`.
     * 
     */
    public Optional> successResponse() {
        return Optional.ofNullable(this.successResponse);
    }

    /**
     * Configuration block for conditional branches to evaluate if the code hook times out. See `timeout_conditional`.
     * 
     */
    @Import(name="timeoutConditional")
    private @Nullable Output timeoutConditional;

    /**
     * @return Configuration block for conditional branches to evaluate if the code hook times out. See `timeout_conditional`.
     * 
     */
    public Optional> timeoutConditional() {
        return Optional.ofNullable(this.timeoutConditional);
    }

    /**
     * Configuration block for the next step that the bot runs when the code hook times out. See `timeout_next_step`.
     * 
     */
    @Import(name="timeoutNextStep")
    private @Nullable Output timeoutNextStep;

    /**
     * @return Configuration block for the next step that the bot runs when the code hook times out. See `timeout_next_step`.
     * 
     */
    public Optional> timeoutNextStep() {
        return Optional.ofNullable(this.timeoutNextStep);
    }

    /**
     * Configuration block for a list of message groups that Amazon Lex uses to respond the user input. See `timeout_response`.
     * 
     */
    @Import(name="timeoutResponse")
    private @Nullable Output timeoutResponse;

    /**
     * @return Configuration block for a list of message groups that Amazon Lex uses to respond the user input. See `timeout_response`.
     * 
     */
    public Optional> timeoutResponse() {
        return Optional.ofNullable(this.timeoutResponse);
    }

    private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationArgs() {}

    private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationArgs $) {
        this.failureConditional = $.failureConditional;
        this.failureNextStep = $.failureNextStep;
        this.failureResponse = $.failureResponse;
        this.successConditional = $.successConditional;
        this.successNextStep = $.successNextStep;
        this.successResponse = $.successResponse;
        this.timeoutConditional = $.timeoutConditional;
        this.timeoutNextStep = $.timeoutNextStep;
        this.timeoutResponse = $.timeoutResponse;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationArgs $;

        public Builder() {
            $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationArgs();
        }

        public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationArgs defaults) {
            $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param failureConditional Configuration block for conditional branches to evaluate after the dialog code hook throws an exception or returns with the State field of the Intent object set to Failed.
         * 
         * @return builder
         * 
         */
        public Builder failureConditional(@Nullable Output failureConditional) {
            $.failureConditional = failureConditional;
            return this;
        }

        /**
         * @param failureConditional Configuration block for conditional branches to evaluate after the dialog code hook throws an exception or returns with the State field of the Intent object set to Failed.
         * 
         * @return builder
         * 
         */
        public Builder failureConditional(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalArgs failureConditional) {
            return failureConditional(Output.of(failureConditional));
        }

        /**
         * @param failureNextStep Configuration block for the next step the bot runs after the dialog code hook throws an exception or returns with the State field of the Intent object set to Failed . See `failure_next_step`.
         * 
         * @return builder
         * 
         */
        public Builder failureNextStep(@Nullable Output failureNextStep) {
            $.failureNextStep = failureNextStep;
            return this;
        }

        /**
         * @param failureNextStep Configuration block for the next step the bot runs after the dialog code hook throws an exception or returns with the State field of the Intent object set to Failed . See `failure_next_step`.
         * 
         * @return builder
         * 
         */
        public Builder failureNextStep(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureNextStepArgs failureNextStep) {
            return failureNextStep(Output.of(failureNextStep));
        }

        /**
         * @param failureResponse Configuration block for message groups that Amazon Lex uses to respond the user input. See `failure_response`.
         * 
         * @return builder
         * 
         */
        public Builder failureResponse(@Nullable Output failureResponse) {
            $.failureResponse = failureResponse;
            return this;
        }

        /**
         * @param failureResponse Configuration block for message groups that Amazon Lex uses to respond the user input. See `failure_response`.
         * 
         * @return builder
         * 
         */
        public Builder failureResponse(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseArgs failureResponse) {
            return failureResponse(Output.of(failureResponse));
        }

        /**
         * @param successConditional Configuration block for conditional branches to evaluate after the dialog code hook finishes successfully. See `success_conditional`.
         * 
         * @return builder
         * 
         */
        public Builder successConditional(@Nullable Output successConditional) {
            $.successConditional = successConditional;
            return this;
        }

        /**
         * @param successConditional Configuration block for conditional branches to evaluate after the dialog code hook finishes successfully. See `success_conditional`.
         * 
         * @return builder
         * 
         */
        public Builder successConditional(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalArgs successConditional) {
            return successConditional(Output.of(successConditional));
        }

        /**
         * @param successNextStep Configuration block for the next step the bot runs after the dialog code hook finishes successfully. See `success_next_step`.
         * 
         * @return builder
         * 
         */
        public Builder successNextStep(@Nullable Output successNextStep) {
            $.successNextStep = successNextStep;
            return this;
        }

        /**
         * @param successNextStep Configuration block for the next step the bot runs after the dialog code hook finishes successfully. See `success_next_step`.
         * 
         * @return builder
         * 
         */
        public Builder successNextStep(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessNextStepArgs successNextStep) {
            return successNextStep(Output.of(successNextStep));
        }

        /**
         * @param successResponse Configuration block for message groups that Amazon Lex uses to respond the user input. See `success_response`.
         * 
         * @return builder
         * 
         */
        public Builder successResponse(@Nullable Output successResponse) {
            $.successResponse = successResponse;
            return this;
        }

        /**
         * @param successResponse Configuration block for message groups that Amazon Lex uses to respond the user input. See `success_response`.
         * 
         * @return builder
         * 
         */
        public Builder successResponse(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseArgs successResponse) {
            return successResponse(Output.of(successResponse));
        }

        /**
         * @param timeoutConditional Configuration block for conditional branches to evaluate if the code hook times out. See `timeout_conditional`.
         * 
         * @return builder
         * 
         */
        public Builder timeoutConditional(@Nullable Output timeoutConditional) {
            $.timeoutConditional = timeoutConditional;
            return this;
        }

        /**
         * @param timeoutConditional Configuration block for conditional branches to evaluate if the code hook times out. See `timeout_conditional`.
         * 
         * @return builder
         * 
         */
        public Builder timeoutConditional(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalArgs timeoutConditional) {
            return timeoutConditional(Output.of(timeoutConditional));
        }

        /**
         * @param timeoutNextStep Configuration block for the next step that the bot runs when the code hook times out. See `timeout_next_step`.
         * 
         * @return builder
         * 
         */
        public Builder timeoutNextStep(@Nullable Output timeoutNextStep) {
            $.timeoutNextStep = timeoutNextStep;
            return this;
        }

        /**
         * @param timeoutNextStep Configuration block for the next step that the bot runs when the code hook times out. See `timeout_next_step`.
         * 
         * @return builder
         * 
         */
        public Builder timeoutNextStep(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutNextStepArgs timeoutNextStep) {
            return timeoutNextStep(Output.of(timeoutNextStep));
        }

        /**
         * @param timeoutResponse Configuration block for a list of message groups that Amazon Lex uses to respond the user input. See `timeout_response`.
         * 
         * @return builder
         * 
         */
        public Builder timeoutResponse(@Nullable Output timeoutResponse) {
            $.timeoutResponse = timeoutResponse;
            return this;
        }

        /**
         * @param timeoutResponse Configuration block for a list of message groups that Amazon Lex uses to respond the user input. See `timeout_response`.
         * 
         * @return builder
         * 
         */
        public Builder timeoutResponse(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseArgs timeoutResponse) {
            return timeoutResponse(Output.of(timeoutResponse));
        }

        public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy