com.pulumi.gcp.dataproc.kotlin.inputs.JobReferenceArgs.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.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("njgtyjyfqtdgicow")
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("ypudjlttwahotjny")
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,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy