com.pulumi.gcp.dataloss.kotlin.inputs.PreventionJobTriggerInspectJobActionSaveFindingsArgs.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.PreventionJobTriggerInspectJobActionSaveFindingsArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property outputConfig Information on where to store output
* Structure is documented below.
*/
public data class PreventionJobTriggerInspectJobActionSaveFindingsArgs(
public val outputConfig: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobActionSaveFindingsArgs =
com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerInspectJobActionSaveFindingsArgs.builder()
.outputConfig(outputConfig.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [PreventionJobTriggerInspectJobActionSaveFindingsArgs].
*/
@PulumiTagMarker
public class PreventionJobTriggerInspectJobActionSaveFindingsArgsBuilder internal constructor() {
private var outputConfig:
Output? = null
/**
* @param value Information on where to store output
* Structure is documented below.
*/
@JvmName("bwhvafirrcgsgwwc")
public suspend fun outputConfig(`value`: Output) {
this.outputConfig = value
}
/**
* @param value Information on where to store output
* Structure is documented below.
*/
@JvmName("byheorekgnjywqoq")
public suspend fun outputConfig(`value`: PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.outputConfig = mapped
}
/**
* @param argument Information on where to store output
* Structure is documented below.
*/
@JvmName("tebcuugrqxwbmqsw")
public suspend fun outputConfig(argument: suspend PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigArgsBuilder.() -> Unit) {
val toBeMapped =
PreventionJobTriggerInspectJobActionSaveFindingsOutputConfigArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.outputConfig = mapped
}
internal fun build(): PreventionJobTriggerInspectJobActionSaveFindingsArgs =
PreventionJobTriggerInspectJobActionSaveFindingsArgs(
outputConfig = outputConfig ?: throw PulumiNullFieldException("outputConfig"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy