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

import com.pulumi.azure.hdinsight.inputs.InteractiveQueryClusterMetastoresAmbariArgs;
import com.pulumi.azure.hdinsight.inputs.InteractiveQueryClusterMetastoresHiveArgs;
import com.pulumi.azure.hdinsight.inputs.InteractiveQueryClusterMetastoresOozieArgs;
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 InteractiveQueryClusterMetastoresArgs extends com.pulumi.resources.ResourceArgs {

    public static final InteractiveQueryClusterMetastoresArgs Empty = new InteractiveQueryClusterMetastoresArgs();

    /**
     * An `ambari` block as defined below.
     * 
     */
    @Import(name="ambari")
    private @Nullable Output<InteractiveQueryClusterMetastoresAmbariArgs> ambari;

    /**
     * @return An `ambari` block as defined below.
     * 
     */
    public Optional<Output<InteractiveQueryClusterMetastoresAmbariArgs>> ambari() {
        return Optional.ofNullable(this.ambari);
    }

    /**
     * A `hive` block as defined below.
     * 
     */
    @Import(name="hive")
    private @Nullable Output<InteractiveQueryClusterMetastoresHiveArgs> hive;

    /**
     * @return A `hive` block as defined below.
     * 
     */
    public Optional<Output<InteractiveQueryClusterMetastoresHiveArgs>> hive() {
        return Optional.ofNullable(this.hive);
    }

    /**
     * An `oozie` block as defined below.
     * 
     */
    @Import(name="oozie")
    private @Nullable Output<InteractiveQueryClusterMetastoresOozieArgs> oozie;

    /**
     * @return An `oozie` block as defined below.
     * 
     */
    public Optional<Output<InteractiveQueryClusterMetastoresOozieArgs>> oozie() {
        return Optional.ofNullable(this.oozie);
    }

    private InteractiveQueryClusterMetastoresArgs() {}

    private InteractiveQueryClusterMetastoresArgs(InteractiveQueryClusterMetastoresArgs $) {
        this.ambari = $.ambari;
        this.hive = $.hive;
        this.oozie = $.oozie;
    }

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

    public static final class Builder {
        private InteractiveQueryClusterMetastoresArgs $;

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

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

        /**
         * @param ambari An `ambari` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder ambari(@Nullable Output<InteractiveQueryClusterMetastoresAmbariArgs> ambari) {
            $.ambari = ambari;
            return this;
        }

        /**
         * @param ambari An `ambari` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder ambari(InteractiveQueryClusterMetastoresAmbariArgs ambari) {
            return ambari(Output.of(ambari));
        }

        /**
         * @param hive A `hive` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder hive(@Nullable Output<InteractiveQueryClusterMetastoresHiveArgs> hive) {
            $.hive = hive;
            return this;
        }

        /**
         * @param hive A `hive` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder hive(InteractiveQueryClusterMetastoresHiveArgs hive) {
            return hive(Output.of(hive));
        }

        /**
         * @param oozie An `oozie` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder oozie(@Nullable Output<InteractiveQueryClusterMetastoresOozieArgs> oozie) {
            $.oozie = oozie;
            return this;
        }

        /**
         * @param oozie An `oozie` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder oozie(InteractiveQueryClusterMetastoresOozieArgs oozie) {
            return oozie(Output.of(oozie));
        }

        public InteractiveQueryClusterMetastoresArgs build() {
            return $;
        }
    }

}
