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

com.pulumi.awsnative.iot.kotlin.inputs.GetTopicRulePlainArgs.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.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"),
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy