com.pulumi.awsnative.iot.kotlin.inputs.GetMitigationActionPlainArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.iot.kotlin.inputs
import com.pulumi.awsnative.iot.inputs.GetMitigationActionPlainArgs.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 actionName A unique identifier for the mitigation action.
*/
public data class GetMitigationActionPlainArgs(
public val actionName: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.iot.inputs.GetMitigationActionPlainArgs =
com.pulumi.awsnative.iot.inputs.GetMitigationActionPlainArgs.builder()
.actionName(actionName.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetMitigationActionPlainArgs].
*/
@PulumiTagMarker
public class GetMitigationActionPlainArgsBuilder internal constructor() {
private var actionName: String? = null
/**
* @param value A unique identifier for the mitigation action.
*/
@JvmName("hnybmutiapscrjmu")
public suspend fun actionName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.actionName = mapped
}
internal fun build(): GetMitigationActionPlainArgs = GetMitigationActionPlainArgs(
actionName = actionName ?: throw PulumiNullFieldException("actionName"),
)
}