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

com.pulumi.gcp.dataloss.kotlin.outputs.PreventionJobTriggerInspectJobInspectConfigRuleSetRule.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: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.dataloss.kotlin.outputs

import kotlin.Suppress

/**
 *
 * @property exclusionRule The rule that specifies conditions when findings of infoTypes specified in InspectionRuleSet are removed from results.
 * Structure is documented below.
 * @property hotwordRule Hotword-based detection rule.
 * Structure is documented below.
 */
public data class PreventionJobTriggerInspectJobInspectConfigRuleSetRule(
    public val exclusionRule: PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRule? =
        null,
    public val hotwordRule: PreventionJobTriggerInspectJobInspectConfigRuleSetRuleHotwordRule? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.dataloss.outputs.PreventionJobTriggerInspectJobInspectConfigRuleSetRule): PreventionJobTriggerInspectJobInspectConfigRuleSetRule =
            PreventionJobTriggerInspectJobInspectConfigRuleSetRule(
                exclusionRule = javaType.exclusionRule().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.gcp.dataloss.kotlin.outputs.PreventionJobTriggerInspectJobInspectConfigRuleSetRuleExclusionRule.Companion.toKotlin(args0)
                    })
                }).orElse(null),
                hotwordRule = javaType.hotwordRule().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.gcp.dataloss.kotlin.outputs.PreventionJobTriggerInspectJobInspectConfigRuleSetRuleHotwordRule.Companion.toKotlin(args0)
                    })
                }).orElse(null),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy