com.pulumi.gcp.dataproc.kotlin.inputs.JobReferenceArgs.kt Maven / Gradle / Ivy
@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.JobReferenceArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property jobId The job ID, which must be unique within the project. The job ID is generated by the server upon job submission or provided by the user as a means to perform retries without creating duplicate jobs
*/
public data class JobReferenceArgs(
public val jobId: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.dataproc.inputs.JobReferenceArgs =
com.pulumi.gcp.dataproc.inputs.JobReferenceArgs.builder()
.jobId(jobId?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [JobReferenceArgs].
*/
@PulumiTagMarker
public class JobReferenceArgsBuilder internal constructor() {
private var jobId: Output? = null
/**
* @param value The job ID, which must be unique within the project. The job ID is generated by the server upon job submission or provided by the user as a means to perform retries without creating duplicate jobs
*/
@JvmName("frnmxhyhvbtdbfut")
public suspend fun jobId(`value`: Output) {
this.jobId = value
}
/**
* @param value The job ID, which must be unique within the project. The job ID is generated by the server upon job submission or provided by the user as a means to perform retries without creating duplicate jobs
*/
@JvmName("dfgrwprevdvmgfvt")
public suspend fun jobId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.jobId = mapped
}
internal fun build(): JobReferenceArgs = JobReferenceArgs(
jobId = jobId,
)
}