com.pulumi.gcp.dataplex.kotlin.outputs.DatascanExecutionSpecTrigger.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.dataplex.kotlin.outputs
import kotlin.Suppress
/**
*
* @property onDemand The scan runs once via dataScans.run API.
* @property schedule The scan is scheduled to run periodically.
* Structure is documented below.
*/
public data class DatascanExecutionSpecTrigger(
public val onDemand: DatascanExecutionSpecTriggerOnDemand? = null,
public val schedule: DatascanExecutionSpecTriggerSchedule? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.dataplex.outputs.DatascanExecutionSpecTrigger): DatascanExecutionSpecTrigger = DatascanExecutionSpecTrigger(
onDemand = javaType.onDemand().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.dataplex.kotlin.outputs.DatascanExecutionSpecTriggerOnDemand.Companion.toKotlin(args0)
})
}).orElse(null),
schedule = javaType.schedule().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.dataplex.kotlin.outputs.DatascanExecutionSpecTriggerSchedule.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy