com.pulumi.gcp.dataloss.kotlin.inputs.PreventionInspectTemplateInspectConfigRuleSetArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.dataloss.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.dataloss.inputs.PreventionInspectTemplateInspectConfigRuleSetArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property infoTypes List of infoTypes this rule set is applied to.
* Structure is documented below.
* @property rules Set of rules to be applied to infoTypes. The rules are applied in order.
* Structure is documented below.
*/
public data class PreventionInspectTemplateInspectConfigRuleSetArgs(
public val infoTypes: Output>,
public val rules: Output>,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.dataloss.inputs.PreventionInspectTemplateInspectConfigRuleSetArgs =
com.pulumi.gcp.dataloss.inputs.PreventionInspectTemplateInspectConfigRuleSetArgs.builder()
.infoTypes(
infoTypes.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.rules(
rules.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [PreventionInspectTemplateInspectConfigRuleSetArgs].
*/
@PulumiTagMarker
public class PreventionInspectTemplateInspectConfigRuleSetArgsBuilder internal constructor() {
private var infoTypes: Output>? =
null
private var rules: Output>? = null
/**
* @param value List of infoTypes this rule set is applied to.
* Structure is documented below.
*/
@JvmName("xlkgoyyttbjmranl")
public suspend fun infoTypes(`value`: Output>) {
this.infoTypes = value
}
@JvmName("nhsypftclnspptxu")
public suspend fun infoTypes(vararg values: Output) {
this.infoTypes = Output.all(values.asList())
}
/**
* @param values List of infoTypes this rule set is applied to.
* Structure is documented below.
*/
@JvmName("qsodovchfpslvfvc")
public suspend fun infoTypes(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy