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

com.pulumi.azure.hdinsight.kotlin.inputs.InteractiveQueryClusterMetastoresArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.21.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.hdinsight.kotlin.inputs

import com.pulumi.azure.hdinsight.inputs.InteractiveQueryClusterMetastoresArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 *
 * @property ambari An `ambari` block as defined below.
 * @property hive A `hive` block as defined below.
 * @property oozie An `oozie` block as defined below.
 */
public data class InteractiveQueryClusterMetastoresArgs(
    public val ambari: Output? = null,
    public val hive: Output? = null,
    public val oozie: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.hdinsight.inputs.InteractiveQueryClusterMetastoresArgs =
        com.pulumi.azure.hdinsight.inputs.InteractiveQueryClusterMetastoresArgs.builder()
            .ambari(ambari?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .hive(hive?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .oozie(oozie?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [InteractiveQueryClusterMetastoresArgs].
 */
@PulumiTagMarker
public class InteractiveQueryClusterMetastoresArgsBuilder internal constructor() {
    private var ambari: Output? = null

    private var hive: Output? = null

    private var oozie: Output? = null

    /**
     * @param value An `ambari` block as defined below.
     */
    @JvmName("wfylvnumllbandia")
    public suspend fun ambari(`value`: Output) {
        this.ambari = value
    }

    /**
     * @param value A `hive` block as defined below.
     */
    @JvmName("wmlvnreedimpmlpg")
    public suspend fun hive(`value`: Output) {
        this.hive = value
    }

    /**
     * @param value An `oozie` block as defined below.
     */
    @JvmName("eeeseivneldjdrqr")
    public suspend fun oozie(`value`: Output) {
        this.oozie = value
    }

    /**
     * @param value An `ambari` block as defined below.
     */
    @JvmName("isstimhebtolrgco")
    public suspend fun ambari(`value`: InteractiveQueryClusterMetastoresAmbariArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.ambari = mapped
    }

    /**
     * @param argument An `ambari` block as defined below.
     */
    @JvmName("hjwaspluijganyhd")
    public suspend fun ambari(argument: suspend InteractiveQueryClusterMetastoresAmbariArgsBuilder.() -> Unit) {
        val toBeMapped = InteractiveQueryClusterMetastoresAmbariArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.ambari = mapped
    }

    /**
     * @param value A `hive` block as defined below.
     */
    @JvmName("swamfxghfjnunxty")
    public suspend fun hive(`value`: InteractiveQueryClusterMetastoresHiveArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.hive = mapped
    }

    /**
     * @param argument A `hive` block as defined below.
     */
    @JvmName("fjovimcspojvrxft")
    public suspend fun hive(argument: suspend InteractiveQueryClusterMetastoresHiveArgsBuilder.() -> Unit) {
        val toBeMapped = InteractiveQueryClusterMetastoresHiveArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.hive = mapped
    }

    /**
     * @param value An `oozie` block as defined below.
     */
    @JvmName("rjcxxufbjvaxaijk")
    public suspend fun oozie(`value`: InteractiveQueryClusterMetastoresOozieArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.oozie = mapped
    }

    /**
     * @param argument An `oozie` block as defined below.
     */
    @JvmName("rpgwekpnidxkbmfl")
    public suspend fun oozie(argument: suspend InteractiveQueryClusterMetastoresOozieArgsBuilder.() -> Unit) {
        val toBeMapped = InteractiveQueryClusterMetastoresOozieArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.oozie = mapped
    }

    internal fun build(): InteractiveQueryClusterMetastoresArgs =
        InteractiveQueryClusterMetastoresArgs(
            ambari = ambari,
            hive = hive,
            oozie = oozie,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy