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

com.pulumi.gcp.dataloss.kotlin.inputs.PreventionInspectTemplateInspectConfigRuleSetRuleHotwordRuleProximityArgs.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.12.0.0
Show newest version
@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.PreventionInspectTemplateInspectConfigRuleSetRuleHotwordRuleProximityArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property windowAfter Number of characters after the finding to consider.
 * @property windowBefore Number of characters before the finding to consider.
 */
public data class PreventionInspectTemplateInspectConfigRuleSetRuleHotwordRuleProximityArgs(
    public val windowAfter: Output? = null,
    public val windowBefore: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.dataloss.inputs.PreventionInspectTemplateInspectConfigRuleSetRuleHotwordRuleProximityArgs =
        com.pulumi.gcp.dataloss.inputs.PreventionInspectTemplateInspectConfigRuleSetRuleHotwordRuleProximityArgs.builder()
            .windowAfter(windowAfter?.applyValue({ args0 -> args0 }))
            .windowBefore(windowBefore?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [PreventionInspectTemplateInspectConfigRuleSetRuleHotwordRuleProximityArgs].
 */
@PulumiTagMarker
public class PreventionInspectTemplateInspectConfigRuleSetRuleHotwordRuleProximityArgsBuilder
internal constructor() {
    private var windowAfter: Output? = null

    private var windowBefore: Output? = null

    /**
     * @param value Number of characters after the finding to consider.
     */
    @JvmName("ihvbwsvxhjfdknhk")
    public suspend fun windowAfter(`value`: Output) {
        this.windowAfter = value
    }

    /**
     * @param value Number of characters before the finding to consider.
     */
    @JvmName("piaydjeeryixckad")
    public suspend fun windowBefore(`value`: Output) {
        this.windowBefore = value
    }

    /**
     * @param value Number of characters after the finding to consider.
     */
    @JvmName("idgiqjtbncvyiwoe")
    public suspend fun windowAfter(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.windowAfter = mapped
    }

    /**
     * @param value Number of characters before the finding to consider.
     */
    @JvmName("ahlxhqekaatumnxj")
    public suspend fun windowBefore(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.windowBefore = mapped
    }

    internal fun build(): PreventionInspectTemplateInspectConfigRuleSetRuleHotwordRuleProximityArgs =
        PreventionInspectTemplateInspectConfigRuleSetRuleHotwordRuleProximityArgs(
            windowAfter = windowAfter,
            windowBefore = windowBefore,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy