com.pulumi.awsnative.iot.kotlin.inputs.GetTopicRulePlainArgs.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.GetTopicRulePlainArgs.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 ruleName The name of the rule.
* *Pattern* : `^[a-zA-Z0-9_]+$`
*/
public data class GetTopicRulePlainArgs(
public val ruleName: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.iot.inputs.GetTopicRulePlainArgs =
com.pulumi.awsnative.iot.inputs.GetTopicRulePlainArgs.builder()
.ruleName(ruleName.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetTopicRulePlainArgs].
*/
@PulumiTagMarker
public class GetTopicRulePlainArgsBuilder internal constructor() {
private var ruleName: String? = null
/**
* @param value The name of the rule.
* *Pattern* : `^[a-zA-Z0-9_]+$`
*/
@JvmName("xvfdvnyjwbqkrywg")
public suspend fun ruleName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.ruleName = mapped
}
internal fun build(): GetTopicRulePlainArgs = GetTopicRulePlainArgs(
ruleName = ruleName ?: throw PulumiNullFieldException("ruleName"),
)
}