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

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

/**
 *
 * @property actions Configuration block for the actions to execute on the completion of a job. Can be specified multiple times, but only one for each type. Each action block supports fields documented below. This argument is processed in attribute-as-blocks mode.
 * Structure is documented below.
 * @property inspectConfig The core content of the template.
 * Structure is documented below.
 * @property inspectTemplateName The name of the template to run when this job is triggered.
 * @property storageConfig Information on where to inspect
 * Structure is documented below.
 */
public data class PreventionJobTriggerInspectJob(
    public val actions: List? = null,
    public val inspectConfig: PreventionJobTriggerInspectJobInspectConfig? = null,
    public val inspectTemplateName: String? = null,
    public val storageConfig: PreventionJobTriggerInspectJobStorageConfig,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.dataloss.outputs.PreventionJobTriggerInspectJob): PreventionJobTriggerInspectJob = PreventionJobTriggerInspectJob(
            actions = javaType.actions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.dataloss.kotlin.outputs.PreventionJobTriggerInspectJobAction.Companion.toKotlin(args0)
                })
            }),
            inspectConfig = javaType.inspectConfig().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.dataloss.kotlin.outputs.PreventionJobTriggerInspectJobInspectConfig.Companion.toKotlin(args0)
                })
            }).orElse(null),
            inspectTemplateName = javaType.inspectTemplateName().map({ args0 -> args0 }).orElse(null),
            storageConfig = javaType.storageConfig().let({ args0 ->
                com.pulumi.gcp.dataloss.kotlin.outputs.PreventionJobTriggerInspectJobStorageConfig.Companion.toKotlin(args0)
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy