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

com.pulumi.gcp.dataproc.kotlin.inputs.ClusterVirtualClusterConfigAuxiliaryServicesConfigArgs.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: 8.12.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.dataproc.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.dataproc.inputs.ClusterVirtualClusterConfigAuxiliaryServicesConfigArgs.builder
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 metastoreConfig The Hive Metastore configuration for this workload.
 * @property sparkHistoryServerConfig The Spark History Server configuration for the workload.
 */
public data class ClusterVirtualClusterConfigAuxiliaryServicesConfigArgs(
    public val metastoreConfig: Output? = null,
    public val sparkHistoryServerConfig: Output? =
        null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.dataproc.inputs.ClusterVirtualClusterConfigAuxiliaryServicesConfigArgs =
        com.pulumi.gcp.dataproc.inputs.ClusterVirtualClusterConfigAuxiliaryServicesConfigArgs.builder()
            .metastoreConfig(metastoreConfig?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .sparkHistoryServerConfig(
                sparkHistoryServerConfig?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            ).build()
}

/**
 * Builder for [ClusterVirtualClusterConfigAuxiliaryServicesConfigArgs].
 */
@PulumiTagMarker
public class ClusterVirtualClusterConfigAuxiliaryServicesConfigArgsBuilder internal constructor() {
    private var metastoreConfig:
        Output? = null

    private var sparkHistoryServerConfig:
        Output? = null

    /**
     * @param value The Hive Metastore configuration for this workload.
     */
    @JvmName("ncymqwajqovmesjr")
    public suspend fun metastoreConfig(`value`: Output) {
        this.metastoreConfig = value
    }

    /**
     * @param value The Spark History Server configuration for the workload.
     */
    @JvmName("ygjgynubudpfnhfs")
    public suspend fun sparkHistoryServerConfig(`value`: Output) {
        this.sparkHistoryServerConfig = value
    }

    /**
     * @param value The Hive Metastore configuration for this workload.
     */
    @JvmName("bvbdylncnoqajkip")
    public suspend fun metastoreConfig(`value`: ClusterVirtualClusterConfigAuxiliaryServicesConfigMetastoreConfigArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.metastoreConfig = mapped
    }

    /**
     * @param argument The Hive Metastore configuration for this workload.
     */
    @JvmName("qrldjbgpgfiknmkj")
    public suspend fun metastoreConfig(argument: suspend ClusterVirtualClusterConfigAuxiliaryServicesConfigMetastoreConfigArgsBuilder.() -> Unit) {
        val toBeMapped =
            ClusterVirtualClusterConfigAuxiliaryServicesConfigMetastoreConfigArgsBuilder().applySuspend {
                argument()
            }.build()
        val mapped = of(toBeMapped)
        this.metastoreConfig = mapped
    }

    /**
     * @param value The Spark History Server configuration for the workload.
     */
    @JvmName("mbbktlxtwvhaufqc")
    public suspend fun sparkHistoryServerConfig(`value`: ClusterVirtualClusterConfigAuxiliaryServicesConfigSparkHistoryServerConfigArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.sparkHistoryServerConfig = mapped
    }

    /**
     * @param argument The Spark History Server configuration for the workload.
     */
    @JvmName("rqsqdukustbnqgpn")
    public suspend fun sparkHistoryServerConfig(argument: suspend ClusterVirtualClusterConfigAuxiliaryServicesConfigSparkHistoryServerConfigArgsBuilder.() -> Unit) {
        val toBeMapped =
            ClusterVirtualClusterConfigAuxiliaryServicesConfigSparkHistoryServerConfigArgsBuilder().applySuspend {
                argument()
            }.build()
        val mapped = of(toBeMapped)
        this.sparkHistoryServerConfig = mapped
    }

    internal fun build(): ClusterVirtualClusterConfigAuxiliaryServicesConfigArgs =
        ClusterVirtualClusterConfigAuxiliaryServicesConfigArgs(
            metastoreConfig = metastoreConfig,
            sparkHistoryServerConfig = sparkHistoryServerConfig,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy