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

com.pulumi.gcp.dataloss.kotlin.outputs.PreventionJobTriggerInspectJobInspectConfigLimits.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.outputs

import kotlin.Int
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @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 PreventionJobTriggerInspectJobInspectConfigLimits(
    public val maxFindingsPerInfoTypes: List? = null,
    public val maxFindingsPerItem: Int? = null,
    public val maxFindingsPerRequest: Int? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.dataloss.outputs.PreventionJobTriggerInspectJobInspectConfigLimits): PreventionJobTriggerInspectJobInspectConfigLimits =
            PreventionJobTriggerInspectJobInspectConfigLimits(
                maxFindingsPerInfoTypes = javaType.maxFindingsPerInfoTypes().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.gcp.dataloss.kotlin.outputs.PreventionJobTriggerInspectJobInspectConfigLimitsMaxFindingsPerInfoType.Companion.toKotlin(args0)
                    })
                }),
                maxFindingsPerItem = javaType.maxFindingsPerItem().map({ args0 -> args0 }).orElse(null),
                maxFindingsPerRequest = javaType.maxFindingsPerRequest().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy