
com.pulumi.awsnative.iot.kotlin.inputs.JobExecutionsRolloutConfigPropertiesArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.iot.kotlin.inputs
import com.pulumi.awsnative.iot.inputs.JobExecutionsRolloutConfigPropertiesArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Int
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
* Allows you to create a staged rollout of a job.
* @property exponentialRolloutRate The rate of increase for a job rollout. This parameter allows you to define an exponential rate for a job rollout.
* @property maximumPerMinute The maximum number of things that will be notified of a pending job, per minute. This parameter allows you to create a staged rollout.
*/
public data class JobExecutionsRolloutConfigPropertiesArgs(
public val exponentialRolloutRate: Output? = null,
public val maximumPerMinute: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.iot.inputs.JobExecutionsRolloutConfigPropertiesArgs =
com.pulumi.awsnative.iot.inputs.JobExecutionsRolloutConfigPropertiesArgs.builder()
.exponentialRolloutRate(
exponentialRolloutRate?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.maximumPerMinute(maximumPerMinute?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [JobExecutionsRolloutConfigPropertiesArgs].
*/
@PulumiTagMarker
public class JobExecutionsRolloutConfigPropertiesArgsBuilder internal constructor() {
private var exponentialRolloutRate: Output? = null
private var maximumPerMinute: Output? = null
/**
* @param value The rate of increase for a job rollout. This parameter allows you to define an exponential rate for a job rollout.
*/
@JvmName("sielqqopdrrurxlm")
public suspend fun exponentialRolloutRate(`value`: Output) {
this.exponentialRolloutRate = value
}
/**
* @param value The maximum number of things that will be notified of a pending job, per minute. This parameter allows you to create a staged rollout.
*/
@JvmName("lmrnpavylxucdqve")
public suspend fun maximumPerMinute(`value`: Output) {
this.maximumPerMinute = value
}
/**
* @param value The rate of increase for a job rollout. This parameter allows you to define an exponential rate for a job rollout.
*/
@JvmName("hchjhrtdcvacldxr")
public suspend fun exponentialRolloutRate(`value`: JobTemplateExponentialRolloutRateArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.exponentialRolloutRate = mapped
}
/**
* @param argument The rate of increase for a job rollout. This parameter allows you to define an exponential rate for a job rollout.
*/
@JvmName("lnyjfxpkuatemhuh")
public suspend fun exponentialRolloutRate(argument: suspend JobTemplateExponentialRolloutRateArgsBuilder.() -> Unit) {
val toBeMapped = JobTemplateExponentialRolloutRateArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.exponentialRolloutRate = mapped
}
/**
* @param value The maximum number of things that will be notified of a pending job, per minute. This parameter allows you to create a staged rollout.
*/
@JvmName("nwwmpqgpqwvjoseo")
public suspend fun maximumPerMinute(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.maximumPerMinute = mapped
}
internal fun build(): JobExecutionsRolloutConfigPropertiesArgs =
JobExecutionsRolloutConfigPropertiesArgs(
exponentialRolloutRate = exponentialRolloutRate,
maximumPerMinute = maximumPerMinute,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy