com.pulumi.gcp.bigquery.kotlin.inputs.ConnectionSparkSparkHistoryServerConfigArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.bigquery.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.bigquery.inputs.ConnectionSparkSparkHistoryServerConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property dataprocCluster Resource name of an existing Dataproc Cluster to act as a Spark History Server for the connection if the form of projects/[projectId]/regions/[region]/clusters/[cluster_name].
*/
public data class ConnectionSparkSparkHistoryServerConfigArgs(
public val dataprocCluster: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.bigquery.inputs.ConnectionSparkSparkHistoryServerConfigArgs = com.pulumi.gcp.bigquery.inputs.ConnectionSparkSparkHistoryServerConfigArgs.builder()
.dataprocCluster(dataprocCluster?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ConnectionSparkSparkHistoryServerConfigArgs].
*/
@PulumiTagMarker
public class ConnectionSparkSparkHistoryServerConfigArgsBuilder internal constructor() {
private var dataprocCluster: Output? = null
/**
* @param value Resource name of an existing Dataproc Cluster to act as a Spark History Server for the connection if the form of projects/[projectId]/regions/[region]/clusters/[cluster_name].
*/
@JvmName("gurkwguktdspxtym")
public suspend fun dataprocCluster(`value`: Output) {
this.dataprocCluster = value
}
/**
* @param value Resource name of an existing Dataproc Cluster to act as a Spark History Server for the connection if the form of projects/[projectId]/regions/[region]/clusters/[cluster_name].
*/
@JvmName("loypqixsjyevxnps")
public suspend fun dataprocCluster(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.dataprocCluster = mapped
}
internal fun build(): ConnectionSparkSparkHistoryServerConfigArgs =
ConnectionSparkSparkHistoryServerConfigArgs(
dataprocCluster = dataprocCluster,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy