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

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

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map

/**
 *
 * @property description A short description of where the data is coming from. Will be stored once in the job. 256 max length.
 * @property labels To organize findings, these labels will be added to each finding.
 * Label keys must be between 1 and 63 characters long and must conform to the following regular expression: `a-z?`.
 * Label values must be between 0 and 63 characters long and must conform to the regular expression `(a-z?)?`.
 * No more than 10 labels can be associated with a given finding.
 * Examples:
 * * `"environment" : "production"`
 * * `"pipeline" : "etl"`
 * @property requiredFindingLabelKeys These are labels that each inspection request must include within their 'finding_labels' map. Request
 * may contain others, but any missing one of these will be rejected.
 * Label keys must be between 1 and 63 characters long and must conform to the following regular expression: `a-z?`.
 * No more than 10 keys can be required.
 * @property tableOptions If the container is a table, additional information to make findings meaningful such as the columns that are primary keys.
 * Structure is documented below.
 */
public data class PreventionJobTriggerInspectJobStorageConfigHybridOptions(
    public val description: String? = null,
    public val labels: Map? = null,
    public val requiredFindingLabelKeys: List? = null,
    public val tableOptions: PreventionJobTriggerInspectJobStorageConfigHybridOptionsTableOptions? =
        null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.dataloss.outputs.PreventionJobTriggerInspectJobStorageConfigHybridOptions): PreventionJobTriggerInspectJobStorageConfigHybridOptions =
            PreventionJobTriggerInspectJobStorageConfigHybridOptions(
                description = javaType.description().map({ args0 -> args0 }).orElse(null),
                labels = javaType.labels().map({ args0 -> args0.key.to(args0.value) }).toMap(),
                requiredFindingLabelKeys = javaType.requiredFindingLabelKeys().map({ args0 -> args0 }),
                tableOptions = javaType.tableOptions().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.gcp.dataloss.kotlin.outputs.PreventionJobTriggerInspectJobStorageConfigHybridOptionsTableOptions.Companion.toKotlin(args0)
                    })
                }).orElse(null),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy