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

com.pulumi.gcp.dataloss.kotlin.inputs.PreventionJobTriggerInspectJobInspectConfigLimitsArgs.kt Maven / Gradle / Ivy

@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.PreventionJobTriggerInspectJobInspectConfigLimitsArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Int
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property maxFindingsPerInfoTypes Configuration of findings limit given for specified infoTypes.
 * Structure is documented below.
 * @property maxFindingsPerItem Max number of findings that will be returned for each item scanned. The maximum returned is 2000.
 * @property maxFindingsPerRequest Max number of findings that will be returned per request/job. The maximum returned is 2000.
 */
public data class PreventionJobTriggerInspectJobInspectConfigLimitsArgs(
    public val maxFindingsPerInfoTypes: Output>? =
        null,
    public val maxFindingsPerItem: Output? = null,
    public val maxFindingsPerRequest: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobInspectConfigLimitsArgs =
        com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobInspectConfigLimitsArgs.builder()
            .maxFindingsPerInfoTypes(
                maxFindingsPerInfoTypes?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 -> args0.toJava() })
                    })
                }),
            )
            .maxFindingsPerItem(maxFindingsPerItem?.applyValue({ args0 -> args0 }))
            .maxFindingsPerRequest(maxFindingsPerRequest?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [PreventionJobTriggerInspectJobInspectConfigLimitsArgs].
 */
@PulumiTagMarker
public class PreventionJobTriggerInspectJobInspectConfigLimitsArgsBuilder internal constructor() {
    private var maxFindingsPerInfoTypes:
        Output>? =
        null

    private var maxFindingsPerItem: Output? = null

    private var maxFindingsPerRequest: Output? = null

    /**
     * @param value Configuration of findings limit given for specified infoTypes.
     * Structure is documented below.
     */
    @JvmName("hgafoabkoioaoeoa")
    public suspend fun maxFindingsPerInfoTypes(`value`: Output>) {
        this.maxFindingsPerInfoTypes = value
    }

    @JvmName("iugheipyonmacldw")
    public suspend fun maxFindingsPerInfoTypes(vararg values: Output) {
        this.maxFindingsPerInfoTypes = Output.all(values.asList())
    }

    /**
     * @param values Configuration of findings limit given for specified infoTypes.
     * Structure is documented below.
     */
    @JvmName("xtvxuchyvyvxqsgx")
    public suspend fun maxFindingsPerInfoTypes(values: List>) {
        this.maxFindingsPerInfoTypes = Output.all(values)
    }

    /**
     * @param value Max number of findings that will be returned for each item scanned. The maximum returned is 2000.
     */
    @JvmName("okbpqqkfqxjkkodk")
    public suspend fun maxFindingsPerItem(`value`: Output) {
        this.maxFindingsPerItem = value
    }

    /**
     * @param value Max number of findings that will be returned per request/job. The maximum returned is 2000.
     */
    @JvmName("kevcashbcwlnbisu")
    public suspend fun maxFindingsPerRequest(`value`: Output) {
        this.maxFindingsPerRequest = value
    }

    /**
     * @param value Configuration of findings limit given for specified infoTypes.
     * Structure is documented below.
     */
    @JvmName("wadgrcokwweqjorc")
    public suspend fun maxFindingsPerInfoTypes(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.maxFindingsPerInfoTypes = mapped
    }

    /**
     * @param argument Configuration of findings limit given for specified infoTypes.
     * Structure is documented below.
     */
    @JvmName("uninjaswbqmewgqu")
    public suspend fun maxFindingsPerInfoTypes(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            PreventionJobTriggerInspectJobInspectConfigLimitsMaxFindingsPerInfoTypeArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.maxFindingsPerInfoTypes = mapped
    }

    /**
     * @param argument Configuration of findings limit given for specified infoTypes.
     * Structure is documented below.
     */
    @JvmName("eamgfnslrfnwlbhc")
    public suspend fun maxFindingsPerInfoTypes(vararg argument: suspend PreventionJobTriggerInspectJobInspectConfigLimitsMaxFindingsPerInfoTypeArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            PreventionJobTriggerInspectJobInspectConfigLimitsMaxFindingsPerInfoTypeArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.maxFindingsPerInfoTypes = mapped
    }

    /**
     * @param argument Configuration of findings limit given for specified infoTypes.
     * Structure is documented below.
     */
    @JvmName("dxgemqvcuckeqhsf")
    public suspend fun maxFindingsPerInfoTypes(argument: suspend PreventionJobTriggerInspectJobInspectConfigLimitsMaxFindingsPerInfoTypeArgsBuilder.() -> Unit) {
        val toBeMapped =
            listOf(
                PreventionJobTriggerInspectJobInspectConfigLimitsMaxFindingsPerInfoTypeArgsBuilder().applySuspend
                    { argument() }.build(),
            )
        val mapped = of(toBeMapped)
        this.maxFindingsPerInfoTypes = mapped
    }

    /**
     * @param values Configuration of findings limit given for specified infoTypes.
     * Structure is documented below.
     */
    @JvmName("bxxtcgaesroajllj")
    public suspend fun maxFindingsPerInfoTypes(vararg values: PreventionJobTriggerInspectJobInspectConfigLimitsMaxFindingsPerInfoTypeArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.maxFindingsPerInfoTypes = mapped
    }

    /**
     * @param value Max number of findings that will be returned for each item scanned. The maximum returned is 2000.
     */
    @JvmName("sdnwqoxogclgvpux")
    public suspend fun maxFindingsPerItem(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.maxFindingsPerItem = mapped
    }

    /**
     * @param value Max number of findings that will be returned per request/job. The maximum returned is 2000.
     */
    @JvmName("nbqbcqvfqujyillf")
    public suspend fun maxFindingsPerRequest(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.maxFindingsPerRequest = mapped
    }

    internal fun build(): PreventionJobTriggerInspectJobInspectConfigLimitsArgs =
        PreventionJobTriggerInspectJobInspectConfigLimitsArgs(
            maxFindingsPerInfoTypes = maxFindingsPerInfoTypes,
            maxFindingsPerItem = maxFindingsPerItem,
            maxFindingsPerRequest = maxFindingsPerRequest,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy