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

com.pulumi.gcp.monitoring.kotlin.inputs.AlertPolicyAlertStrategyNotificationRateLimitArgs.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: 8.12.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.monitoring.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.monitoring.inputs.AlertPolicyAlertStrategyNotificationRateLimitArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property period Not more than one notification per period.
 * A duration in seconds with up to nine fractional digits, terminated by 's'. Example "60.5s".
 */
public data class AlertPolicyAlertStrategyNotificationRateLimitArgs(
    public val period: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.monitoring.inputs.AlertPolicyAlertStrategyNotificationRateLimitArgs =
        com.pulumi.gcp.monitoring.inputs.AlertPolicyAlertStrategyNotificationRateLimitArgs.builder()
            .period(period?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [AlertPolicyAlertStrategyNotificationRateLimitArgs].
 */
@PulumiTagMarker
public class AlertPolicyAlertStrategyNotificationRateLimitArgsBuilder internal constructor() {
    private var period: Output? = null

    /**
     * @param value Not more than one notification per period.
     * A duration in seconds with up to nine fractional digits, terminated by 's'. Example "60.5s".
     */
    @JvmName("urxbcbggveohpeaq")
    public suspend fun period(`value`: Output) {
        this.period = value
    }

    /**
     * @param value Not more than one notification per period.
     * A duration in seconds with up to nine fractional digits, terminated by 's'. Example "60.5s".
     */
    @JvmName("mowqwwfxomunyqow")
    public suspend fun period(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.period = mapped
    }

    internal fun build(): AlertPolicyAlertStrategyNotificationRateLimitArgs =
        AlertPolicyAlertStrategyNotificationRateLimitArgs(
            period = period,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy