com.pulumi.googlenative.dataproc.v1.kotlin.inputs.GetClusterPlainArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.dataproc.v1.kotlin.inputs
import com.pulumi.googlenative.dataproc.v1.inputs.GetClusterPlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property clusterName
* @property project
* @property region
*/
public data class GetClusterPlainArgs(
public val clusterName: String,
public val project: String? = null,
public val region: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.googlenative.dataproc.v1.inputs.GetClusterPlainArgs =
com.pulumi.googlenative.dataproc.v1.inputs.GetClusterPlainArgs.builder()
.clusterName(clusterName.let({ args0 -> args0 }))
.project(project?.let({ args0 -> args0 }))
.region(region.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetClusterPlainArgs].
*/
@PulumiTagMarker
public class GetClusterPlainArgsBuilder internal constructor() {
private var clusterName: String? = null
private var project: String? = null
private var region: String? = null
/**
* @param value
*/
@JvmName("xcettbjjriqgechm")
public suspend fun clusterName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.clusterName = mapped
}
/**
* @param value
*/
@JvmName("qmxjqhqwkkvgnyup")
public suspend fun project(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.project = mapped
}
/**
* @param value
*/
@JvmName("rjmdhdkkxdfkrutk")
public suspend fun region(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.region = mapped
}
internal fun build(): GetClusterPlainArgs = GetClusterPlainArgs(
clusterName = clusterName ?: throw PulumiNullFieldException("clusterName"),
project = project,
region = region ?: throw PulumiNullFieldException("region"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy