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

com.pulumi.awsnative.lightsail.kotlin.inputs.GetAlarmPlainArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.lightsail.kotlin.inputs

import com.pulumi.awsnative.lightsail.inputs.GetAlarmPlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property alarmName The name for the alarm. Specify the name of an existing alarm to update, and overwrite the previous configuration of the alarm.
 */
public data class GetAlarmPlainArgs(
    public val alarmName: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.lightsail.inputs.GetAlarmPlainArgs =
        com.pulumi.awsnative.lightsail.inputs.GetAlarmPlainArgs.builder()
            .alarmName(alarmName.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetAlarmPlainArgs].
 */
@PulumiTagMarker
public class GetAlarmPlainArgsBuilder internal constructor() {
    private var alarmName: String? = null

    /**
     * @param value The name for the alarm. Specify the name of an existing alarm to update, and overwrite the previous configuration of the alarm.
     */
    @JvmName("tyafpbxaqemhrplf")
    public suspend fun alarmName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.alarmName = mapped
    }

    internal fun build(): GetAlarmPlainArgs = GetAlarmPlainArgs(
        alarmName = alarmName ?: throw PulumiNullFieldException("alarmName"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy