com.pulumi.aws.glue.kotlin.inputs.JobExecutionPropertyArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.glue.kotlin.inputs
import com.pulumi.aws.glue.inputs.JobExecutionPropertyArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property maxConcurrentRuns The maximum number of concurrent runs allowed for a job. The default is 1.
*/
public data class JobExecutionPropertyArgs(
public val maxConcurrentRuns: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.glue.inputs.JobExecutionPropertyArgs =
com.pulumi.aws.glue.inputs.JobExecutionPropertyArgs.builder()
.maxConcurrentRuns(maxConcurrentRuns?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [JobExecutionPropertyArgs].
*/
@PulumiTagMarker
public class JobExecutionPropertyArgsBuilder internal constructor() {
private var maxConcurrentRuns: Output? = null
/**
* @param value The maximum number of concurrent runs allowed for a job. The default is 1.
*/
@JvmName("xnnegpmroduhxtig")
public suspend fun maxConcurrentRuns(`value`: Output) {
this.maxConcurrentRuns = value
}
/**
* @param value The maximum number of concurrent runs allowed for a job. The default is 1.
*/
@JvmName("afdrfksglfcnofvl")
public suspend fun maxConcurrentRuns(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.maxConcurrentRuns = mapped
}
internal fun build(): JobExecutionPropertyArgs = JobExecutionPropertyArgs(
maxConcurrentRuns = maxConcurrentRuns,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy