// *** 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.appconfig.inputs;

import com.pulumi.aws.appconfig.inputs.ExtensionActionPointActionArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Objects;


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

    public static final ExtensionActionPointArgs Empty = new ExtensionActionPointArgs();

    /**
     * An action defines the tasks the extension performs during the AppConfig workflow. Detailed below.
     * 
     */
    @Import(name="actions", required=true)
    private Output<List<ExtensionActionPointActionArgs>> actions;

    /**
     * @return An action defines the tasks the extension performs during the AppConfig workflow. Detailed below.
     * 
     */
    public Output<List<ExtensionActionPointActionArgs>> actions() {
        return this.actions;
    }

    /**
     * The point at which to perform the defined actions. Valid points are `PRE_CREATE_HOSTED_CONFIGURATION_VERSION`, `PRE_START_DEPLOYMENT`, `ON_DEPLOYMENT_START`, `ON_DEPLOYMENT_STEP`, `ON_DEPLOYMENT_BAKING`, `ON_DEPLOYMENT_COMPLETE`, `ON_DEPLOYMENT_ROLLED_BACK`.
     * 
     */
    @Import(name="point", required=true)
    private Output<String> point;

    /**
     * @return The point at which to perform the defined actions. Valid points are `PRE_CREATE_HOSTED_CONFIGURATION_VERSION`, `PRE_START_DEPLOYMENT`, `ON_DEPLOYMENT_START`, `ON_DEPLOYMENT_STEP`, `ON_DEPLOYMENT_BAKING`, `ON_DEPLOYMENT_COMPLETE`, `ON_DEPLOYMENT_ROLLED_BACK`.
     * 
     */
    public Output<String> point() {
        return this.point;
    }

    private ExtensionActionPointArgs() {}

    private ExtensionActionPointArgs(ExtensionActionPointArgs $) {
        this.actions = $.actions;
        this.point = $.point;
    }

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

    public static final class Builder {
        private ExtensionActionPointArgs $;

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

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

        /**
         * @param actions An action defines the tasks the extension performs during the AppConfig workflow. Detailed below.
         * 
         * @return builder
         * 
         */
        public Builder actions(Output<List<ExtensionActionPointActionArgs>> actions) {
            $.actions = actions;
            return this;
        }

        /**
         * @param actions An action defines the tasks the extension performs during the AppConfig workflow. Detailed below.
         * 
         * @return builder
         * 
         */
        public Builder actions(List<ExtensionActionPointActionArgs> actions) {
            return actions(Output.of(actions));
        }

        /**
         * @param actions An action defines the tasks the extension performs during the AppConfig workflow. Detailed below.
         * 
         * @return builder
         * 
         */
        public Builder actions(ExtensionActionPointActionArgs... actions) {
            return actions(List.of(actions));
        }

        /**
         * @param point The point at which to perform the defined actions. Valid points are `PRE_CREATE_HOSTED_CONFIGURATION_VERSION`, `PRE_START_DEPLOYMENT`, `ON_DEPLOYMENT_START`, `ON_DEPLOYMENT_STEP`, `ON_DEPLOYMENT_BAKING`, `ON_DEPLOYMENT_COMPLETE`, `ON_DEPLOYMENT_ROLLED_BACK`.
         * 
         * @return builder
         * 
         */
        public Builder point(Output<String> point) {
            $.point = point;
            return this;
        }

        /**
         * @param point The point at which to perform the defined actions. Valid points are `PRE_CREATE_HOSTED_CONFIGURATION_VERSION`, `PRE_START_DEPLOYMENT`, `ON_DEPLOYMENT_START`, `ON_DEPLOYMENT_STEP`, `ON_DEPLOYMENT_BAKING`, `ON_DEPLOYMENT_COMPLETE`, `ON_DEPLOYMENT_ROLLED_BACK`.
         * 
         * @return builder
         * 
         */
        public Builder point(String point) {
            return point(Output.of(point));
        }

        public ExtensionActionPointArgs build() {
            $.actions = Objects.requireNonNull($.actions, "expected parameter 'actions' to be non-null");
            $.point = Objects.requireNonNull($.point, "expected parameter 'point' to be non-null");
            return $;
        }
    }

}
