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

com.pulumi.gcp.dataloss.kotlin.inputs.PreventionJobTriggerInspectJobInspectConfigRuleSetRuleHotwordRuleProximityArgs.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.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobInspectConfigRuleSetRuleHotwordRuleProximityArgs.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. Either this or window_before must be specified
 * @property windowBefore Number of characters before the finding to consider. Either this or window_after must be specified
 */
public data class PreventionJobTriggerInspectJobInspectConfigRuleSetRuleHotwordRuleProximityArgs(
    public val windowAfter: Output? = null,
    public val windowBefore: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobInspectConfigRuleSetRuleHotwordRuleProximityArgs =
        com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobInspectConfigRuleSetRuleHotwordRuleProximityArgs.builder()
            .windowAfter(windowAfter?.applyValue({ args0 -> args0 }))
            .windowBefore(windowBefore?.applyValue({ args0 -> args0 })).build()
}

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

    private var windowBefore: Output? = null

    /**
     * @param value Number of characters after the finding to consider. Either this or window_before must be specified
     */
    @JvmName("mfirtjxykpoejobt")
    public suspend fun windowAfter(`value`: Output) {
        this.windowAfter = value
    }

    /**
     * @param value Number of characters before the finding to consider. Either this or window_after must be specified
     */
    @JvmName("qvprtargeqmewpvm")
    public suspend fun windowBefore(`value`: Output) {
        this.windowBefore = value
    }

    /**
     * @param value Number of characters after the finding to consider. Either this or window_before must be specified
     */
    @JvmName("blxvrdalhpnalkqy")
    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. Either this or window_after must be specified
     */
    @JvmName("dkokyefbnnkdaegg")
    public suspend fun windowBefore(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.windowBefore = mapped
    }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy