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

com.pulumi.aws.securityhub.kotlin.inputs.AutomationRuleCriteriaIdArgs.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: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.securityhub.kotlin.inputs

import com.pulumi.aws.securityhub.inputs.AutomationRuleCriteriaIdArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
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 comparison
 * @property value
 */
public data class AutomationRuleCriteriaIdArgs(
    public val comparison: Output,
    public val `value`: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.securityhub.inputs.AutomationRuleCriteriaIdArgs =
        com.pulumi.aws.securityhub.inputs.AutomationRuleCriteriaIdArgs.builder()
            .comparison(comparison.applyValue({ args0 -> args0 }))
            .`value`(`value`.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [AutomationRuleCriteriaIdArgs].
 */
@PulumiTagMarker
public class AutomationRuleCriteriaIdArgsBuilder internal constructor() {
    private var comparison: Output? = null

    private var `value`: Output? = null

    /**
     * @param value
     */
    @JvmName("yvdhtbxfexxtndou")
    public suspend fun comparison(`value`: Output) {
        this.comparison = value
    }

    /**
     * @param value
     */
    @JvmName("gytrqamapkxtcnpi")
    public suspend fun `value`(`value`: Output) {
        this.`value` = value
    }

    /**
     * @param value
     */
    @JvmName("geadimeftdbqmuyw")
    public suspend fun comparison(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.comparison = mapped
    }

    /**
     * @param value
     */
    @JvmName("mxcuyikgaqptmkhk")
    public suspend fun `value`(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.`value` = mapped
    }

    internal fun build(): AutomationRuleCriteriaIdArgs = AutomationRuleCriteriaIdArgs(
        comparison = comparison ?: throw PulumiNullFieldException("comparison"),
        `value` = `value` ?: throw PulumiNullFieldException("value"),
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy