com.pulumi.gcp.dataloss.kotlin.inputs.PreventionJobTriggerInspectJobArgs.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.PreventionJobTriggerInspectJobArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @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 PreventionJobTriggerInspectJobArgs(
public val actions: Output>? = null,
public val inspectConfig: Output? = null,
public val inspectTemplateName: Output? = null,
public val storageConfig: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobArgs =
com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobArgs.builder()
.actions(
actions?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.inspectConfig(inspectConfig?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.inspectTemplateName(inspectTemplateName?.applyValue({ args0 -> args0 }))
.storageConfig(storageConfig.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [PreventionJobTriggerInspectJobArgs].
*/
@PulumiTagMarker
public class PreventionJobTriggerInspectJobArgsBuilder internal constructor() {
private var actions: Output>? = null
private var inspectConfig: Output? = null
private var inspectTemplateName: Output? = null
private var storageConfig: Output? = null
/**
* @param value 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.
*/
@JvmName("tuwuucquchdnjifn")
public suspend fun actions(`value`: Output>) {
this.actions = value
}
@JvmName("skklcxupgwycabbs")
public suspend fun actions(vararg values: Output) {
this.actions = Output.all(values.asList())
}
/**
* @param values 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.
*/
@JvmName("etjyxsvdgbdcbdag")
public suspend fun actions(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy