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

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final GalleryApplicationVersionManageActionArgs Empty = new GalleryApplicationVersionManageActionArgs();

    /**
     * The command to install the Gallery Application. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="install", required=true)
    private Output<String> install;

    /**
     * @return The command to install the Gallery Application. Changing this forces a new resource to be created.
     * 
     */
    public Output<String> install() {
        return this.install;
    }

    /**
     * The command to remove the Gallery Application. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="remove", required=true)
    private Output<String> remove;

    /**
     * @return The command to remove the Gallery Application. Changing this forces a new resource to be created.
     * 
     */
    public Output<String> remove() {
        return this.remove;
    }

    /**
     * The command to update the Gallery Application. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="update")
    private @Nullable Output<String> update;

    /**
     * @return The command to update the Gallery Application. Changing this forces a new resource to be created.
     * 
     */
    public Optional<Output<String>> update() {
        return Optional.ofNullable(this.update);
    }

    private GalleryApplicationVersionManageActionArgs() {}

    private GalleryApplicationVersionManageActionArgs(GalleryApplicationVersionManageActionArgs $) {
        this.install = $.install;
        this.remove = $.remove;
        this.update = $.update;
    }

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

    public static final class Builder {
        private GalleryApplicationVersionManageActionArgs $;

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

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

        /**
         * @param install The command to install the Gallery Application. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder install(Output<String> install) {
            $.install = install;
            return this;
        }

        /**
         * @param install The command to install the Gallery Application. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder install(String install) {
            return install(Output.of(install));
        }

        /**
         * @param remove The command to remove the Gallery Application. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder remove(Output<String> remove) {
            $.remove = remove;
            return this;
        }

        /**
         * @param remove The command to remove the Gallery Application. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder remove(String remove) {
            return remove(Output.of(remove));
        }

        /**
         * @param update The command to update the Gallery Application. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder update(@Nullable Output<String> update) {
            $.update = update;
            return this;
        }

        /**
         * @param update The command to update the Gallery Application. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder update(String update) {
            return update(Output.of(update));
        }

        public GalleryApplicationVersionManageActionArgs build() {
            $.install = Objects.requireNonNull($.install, "expected parameter 'install' to be non-null");
            $.remove = Objects.requireNonNull($.remove, "expected parameter 'remove' to be non-null");
            return $;
        }
    }

}
