All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.iot.kotlin.outputs.JobTemplateExponentialRolloutRate.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 0.122.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.iot.kotlin.outputs

import kotlin.Double
import kotlin.Int
import kotlin.Suppress

/**
 * Allows you to create an exponential rate of rollout for a job.
 * @property baseRatePerMinute The minimum number of things that will be notified of a pending job, per minute at the start of job rollout. This parameter allows you to define the initial rate of rollout.
 * @property incrementFactor The exponential factor to increase the rate of rollout for a job.
 * @property rateIncreaseCriteria The criteria to initiate the increase in rate of rollout for a job.
 */
public data class JobTemplateExponentialRolloutRate(
    public val baseRatePerMinute: Int,
    public val incrementFactor: Double,
    public val rateIncreaseCriteria: JobTemplateRateIncreaseCriteria,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.iot.outputs.JobTemplateExponentialRolloutRate): JobTemplateExponentialRolloutRate = JobTemplateExponentialRolloutRate(
            baseRatePerMinute = javaType.baseRatePerMinute(),
            incrementFactor = javaType.incrementFactor(),
            rateIncreaseCriteria = javaType.rateIncreaseCriteria().let({ args0 ->
                com.pulumi.awsnative.iot.kotlin.outputs.JobTemplateRateIncreaseCriteria.Companion.toKotlin(args0)
            }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy