com.pulumi.awsnative.iot.kotlin.inputs.JobTemplateRateIncreaseCriteriaArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.awsnative.iot.kotlin.inputs
import com.pulumi.awsnative.iot.inputs.JobTemplateRateIncreaseCriteriaArgs.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 numberOfNotifiedThings The threshold for number of notified things that will initiate the increase in rate of rollout.
* @property numberOfSucceededThings The threshold for number of succeeded things that will initiate the increase in rate of rollout.
*/
public data class JobTemplateRateIncreaseCriteriaArgs(
public val numberOfNotifiedThings: Output? = null,
public val numberOfSucceededThings: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.iot.inputs.JobTemplateRateIncreaseCriteriaArgs =
com.pulumi.awsnative.iot.inputs.JobTemplateRateIncreaseCriteriaArgs.builder()
.numberOfNotifiedThings(numberOfNotifiedThings?.applyValue({ args0 -> args0 }))
.numberOfSucceededThings(numberOfSucceededThings?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [JobTemplateRateIncreaseCriteriaArgs].
*/
@PulumiTagMarker
public class JobTemplateRateIncreaseCriteriaArgsBuilder internal constructor() {
private var numberOfNotifiedThings: Output? = null
private var numberOfSucceededThings: Output? = null
/**
* @param value The threshold for number of notified things that will initiate the increase in rate of rollout.
*/
@JvmName("hoggdrfaytermddv")
public suspend fun numberOfNotifiedThings(`value`: Output) {
this.numberOfNotifiedThings = value
}
/**
* @param value The threshold for number of succeeded things that will initiate the increase in rate of rollout.
*/
@JvmName("xbxyoadgynnkrqmw")
public suspend fun numberOfSucceededThings(`value`: Output) {
this.numberOfSucceededThings = value
}
/**
* @param value The threshold for number of notified things that will initiate the increase in rate of rollout.
*/
@JvmName("ukhrnmuhpscarghe")
public suspend fun numberOfNotifiedThings(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.numberOfNotifiedThings = mapped
}
/**
* @param value The threshold for number of succeeded things that will initiate the increase in rate of rollout.
*/
@JvmName("ijlyvomedjfjoquq")
public suspend fun numberOfSucceededThings(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.numberOfSucceededThings = mapped
}
internal fun build(): JobTemplateRateIncreaseCriteriaArgs = JobTemplateRateIncreaseCriteriaArgs(
numberOfNotifiedThings = numberOfNotifiedThings,
numberOfSucceededThings = numberOfSucceededThings,
)
}