
com.pulumi.awsnative.greengrassv2.kotlin.inputs.DeploymentIoTJobExecutionsRolloutConfigArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.greengrassv2.kotlin.inputs
import com.pulumi.awsnative.greengrassv2.inputs.DeploymentIoTJobExecutionsRolloutConfigArgs.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
/**
*
* @property exponentialRate The exponential rate to increase the job rollout rate.
* @property maximumPerMinute The maximum number of devices that receive a pending job notification, per minute.
*/
public data class DeploymentIoTJobExecutionsRolloutConfigArgs(
public val exponentialRate: Output? = null,
public val maximumPerMinute: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.greengrassv2.inputs.DeploymentIoTJobExecutionsRolloutConfigArgs =
com.pulumi.awsnative.greengrassv2.inputs.DeploymentIoTJobExecutionsRolloutConfigArgs.builder()
.exponentialRate(exponentialRate?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.maximumPerMinute(maximumPerMinute?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DeploymentIoTJobExecutionsRolloutConfigArgs].
*/
@PulumiTagMarker
public class DeploymentIoTJobExecutionsRolloutConfigArgsBuilder internal constructor() {
private var exponentialRate: Output? = null
private var maximumPerMinute: Output? = null
/**
* @param value The exponential rate to increase the job rollout rate.
*/
@JvmName("ugwvaeuanaaascoe")
public suspend fun exponentialRate(`value`: Output) {
this.exponentialRate = value
}
/**
* @param value The maximum number of devices that receive a pending job notification, per minute.
*/
@JvmName("ereeddwfprvelrbo")
public suspend fun maximumPerMinute(`value`: Output) {
this.maximumPerMinute = value
}
/**
* @param value The exponential rate to increase the job rollout rate.
*/
@JvmName("eadblcnqoeevdyle")
public suspend fun exponentialRate(`value`: DeploymentIoTJobExponentialRolloutRateArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.exponentialRate = mapped
}
/**
* @param argument The exponential rate to increase the job rollout rate.
*/
@JvmName("lfcgrwjlrcetoovh")
public suspend fun exponentialRate(argument: suspend DeploymentIoTJobExponentialRolloutRateArgsBuilder.() -> Unit) {
val toBeMapped = DeploymentIoTJobExponentialRolloutRateArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.exponentialRate = mapped
}
/**
* @param value The maximum number of devices that receive a pending job notification, per minute.
*/
@JvmName("cclqdqciwjsxbyso")
public suspend fun maximumPerMinute(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.maximumPerMinute = mapped
}
internal fun build(): DeploymentIoTJobExecutionsRolloutConfigArgs =
DeploymentIoTJobExecutionsRolloutConfigArgs(
exponentialRate = exponentialRate,
maximumPerMinute = maximumPerMinute,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy