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

com.pulumi.azure.hdinsight.kotlin.inputs.HadoopClusterMetastoresArgs.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.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import com.pulumi.azure.hdinsight.inputs.HadoopClusterMetastoresArgs.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 HadoopClusterMetastoresArgs(
    public val ambari: Output? = null,
    public val hive: Output? = null,
    public val oozie: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.hdinsight.inputs.HadoopClusterMetastoresArgs =
        com.pulumi.azure.hdinsight.inputs.HadoopClusterMetastoresArgs.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 [HadoopClusterMetastoresArgs].
 */
@PulumiTagMarker
public class HadoopClusterMetastoresArgsBuilder 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("losvnysvpfiyqdgi")
    public suspend fun ambari(`value`: Output) {
        this.ambari = value
    }

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

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

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

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

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

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

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy