![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.containerregistry.kotlin.inputs.TriggerPropertiesArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.containerregistry.kotlin.inputs
import com.pulumi.azurenative.containerregistry.inputs.TriggerPropertiesArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* The properties of a trigger.
* @property baseImageTrigger The trigger based on base image dependencies.
* @property sourceTriggers The collection of triggers based on source code repository.
* @property timerTriggers The collection of timer triggers.
*/
public data class TriggerPropertiesArgs(
public val baseImageTrigger: Output? = null,
public val sourceTriggers: Output>? = null,
public val timerTriggers: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.containerregistry.inputs.TriggerPropertiesArgs =
com.pulumi.azurenative.containerregistry.inputs.TriggerPropertiesArgs.builder()
.baseImageTrigger(baseImageTrigger?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.sourceTriggers(
sourceTriggers?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.timerTriggers(
timerTriggers?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [TriggerPropertiesArgs].
*/
@PulumiTagMarker
public class TriggerPropertiesArgsBuilder internal constructor() {
private var baseImageTrigger: Output? = null
private var sourceTriggers: Output>? = null
private var timerTriggers: Output>? = null
/**
* @param value The trigger based on base image dependencies.
*/
@JvmName("wkuniurxiubohvpq")
public suspend fun baseImageTrigger(`value`: Output) {
this.baseImageTrigger = value
}
/**
* @param value The collection of triggers based on source code repository.
*/
@JvmName("lcxunorkxltfokkn")
public suspend fun sourceTriggers(`value`: Output>) {
this.sourceTriggers = value
}
@JvmName("gnwttyxevjmkuhcp")
public suspend fun sourceTriggers(vararg values: Output) {
this.sourceTriggers = Output.all(values.asList())
}
/**
* @param values The collection of triggers based on source code repository.
*/
@JvmName("onmobjtncebehssg")
public suspend fun sourceTriggers(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy