com.pulumi.gcp.dataloss.kotlin.inputs.PreventionJobTriggerInspectJobInspectConfigRuleSetArgs.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.PreventionJobTriggerInspectJobInspectConfigRuleSetArgs.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 PreventionJobTriggerInspectJobInspectConfigRuleSetArgs(
public val infoTypes: Output>? = null,
public val rules: Output>,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobInspectConfigRuleSetArgs =
com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobInspectConfigRuleSetArgs.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 [PreventionJobTriggerInspectJobInspectConfigRuleSetArgs].
*/
@PulumiTagMarker
public class PreventionJobTriggerInspectJobInspectConfigRuleSetArgsBuilder 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("mdugubwtclffbtkb")
public suspend fun infoTypes(`value`: Output>) {
this.infoTypes = value
}
@JvmName("oirwjicndhltvvib")
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("fskvxfjeujmpilht")
public suspend fun infoTypes(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy