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

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

Go to download

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

There is a newer version: 6.60.0-alpha.1731982519
Show 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.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalArgs;
import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureNextStepArgs;
import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseArgs;
import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalArgs;
import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessNextStepArgs;
import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseArgs;
import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalArgs;
import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutNextStepArgs;
import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseArgs;
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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationArgs extends com.pulumi.resources.ResourceArgs {

    public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationArgs();

    /**
     * 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. See `failure_conditional`.
     * 
     */
    @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. See `failure_conditional`.
     * 
     */
    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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationArgs() {}

    private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationArgs $) {
        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(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationArgs $;

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

        public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationArgs defaults) {
            $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationArgs(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. See `failure_conditional`.
         * 
         * @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. See `failure_conditional`.
         * 
         * @return builder
         * 
         */
        public Builder failureConditional(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalArgs 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(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureNextStepArgs 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(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseArgs 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(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalArgs 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(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessNextStepArgs 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(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseArgs 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(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalArgs 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(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutNextStepArgs 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(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseArgs timeoutResponse) {
            return timeoutResponse(Output.of(timeoutResponse));
        }

        public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy