com.pulumi.gcp.dataloss.kotlin.inputs.PreventionInspectTemplateInspectConfigRuleSetRuleExclusionRuleRegexArgs.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.PreventionInspectTemplateInspectConfigRuleSetRuleExclusionRuleRegexArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property groupIndexes The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included.
* @property pattern Pattern defining the regular expression.
* Its syntax (https://github.com/google/re2/wiki/Syntax) can be found under the google/re2 repository on GitHub.
*/
public data class PreventionInspectTemplateInspectConfigRuleSetRuleExclusionRuleRegexArgs(
public val groupIndexes: Output>? = null,
public val pattern: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.dataloss.inputs.PreventionInspectTemplateInspectConfigRuleSetRuleExclusionRuleRegexArgs =
com.pulumi.gcp.dataloss.inputs.PreventionInspectTemplateInspectConfigRuleSetRuleExclusionRuleRegexArgs.builder()
.groupIndexes(groupIndexes?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.pattern(pattern.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [PreventionInspectTemplateInspectConfigRuleSetRuleExclusionRuleRegexArgs].
*/
@PulumiTagMarker
public class PreventionInspectTemplateInspectConfigRuleSetRuleExclusionRuleRegexArgsBuilder internal constructor() {
private var groupIndexes: Output>? = null
private var pattern: Output? = null
/**
* @param value The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included.
*/
@JvmName("ojksdnsxdyqtvoww")
public suspend fun groupIndexes(`value`: Output>) {
this.groupIndexes = value
}
@JvmName("xlpmytytkismpxld")
public suspend fun groupIndexes(vararg values: Output) {
this.groupIndexes = Output.all(values.asList())
}
/**
* @param values The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included.
*/
@JvmName("ovyshjtoetjyooce")
public suspend fun groupIndexes(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy