com.pulumi.gcp.dataloss.kotlin.inputs.PreventionInspectTemplateInspectConfigLimitsArgs.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.PreventionInspectTemplateInspectConfigLimitsArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
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 PreventionInspectTemplateInspectConfigLimitsArgs(
public val maxFindingsPerInfoTypes: Output>? = null,
public val maxFindingsPerItem: Output,
public val maxFindingsPerRequest: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.dataloss.inputs.PreventionInspectTemplateInspectConfigLimitsArgs =
com.pulumi.gcp.dataloss.inputs.PreventionInspectTemplateInspectConfigLimitsArgs.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 [PreventionInspectTemplateInspectConfigLimitsArgs].
*/
@PulumiTagMarker
public class PreventionInspectTemplateInspectConfigLimitsArgsBuilder 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("emdsdhovrbmqdxlu")
public suspend fun maxFindingsPerInfoTypes(`value`: Output>) {
this.maxFindingsPerInfoTypes = value
}
@JvmName("ilbtmvcbemlkygah")
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("bcwwpstlffykwyfu")
public suspend fun maxFindingsPerInfoTypes(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy