com.pulumi.awsnative.ssm.kotlin.inputs.PatchBaselineRuleGroupArgs.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.ssm.kotlin.inputs
import com.pulumi.awsnative.ssm.inputs.PatchBaselineRuleGroupArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* A set of rules defining the approval rules for a patch baseline.
* @property patchRules The rules that make up the rule group.
*/
public data class PatchBaselineRuleGroupArgs(
public val patchRules: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.ssm.inputs.PatchBaselineRuleGroupArgs =
com.pulumi.awsnative.ssm.inputs.PatchBaselineRuleGroupArgs.builder()
.patchRules(
patchRules?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [PatchBaselineRuleGroupArgs].
*/
@PulumiTagMarker
public class PatchBaselineRuleGroupArgsBuilder internal constructor() {
private var patchRules: Output>? = null
/**
* @param value The rules that make up the rule group.
*/
@JvmName("llvyiwshsvibmswu")
public suspend fun patchRules(`value`: Output>) {
this.patchRules = value
}
@JvmName("ifknfviiqlykwrnv")
public suspend fun patchRules(vararg values: Output) {
this.patchRules = Output.all(values.asList())
}
/**
* @param values The rules that make up the rule group.
*/
@JvmName("seybyuojsmacihku")
public suspend fun patchRules(values: List