![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.datafactory.kotlin.inputs.CustomEventsTriggerArgs.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.datafactory.kotlin.inputs
import com.pulumi.azurenative.datafactory.inputs.CustomEventsTriggerArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Any
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Trigger that runs every time a custom event is received.
* @property annotations List of tags that can be used for describing the trigger.
* @property description Trigger description.
* @property events The list of event types that cause this trigger to fire.
* @property pipelines Pipelines that need to be started.
* @property scope The ARM resource ID of the Azure Event Grid Topic.
* @property subjectBeginsWith The event subject must begin with the pattern provided for trigger to fire. At least one of these must be provided: subjectBeginsWith, subjectEndsWith.
* @property subjectEndsWith The event subject must end with the pattern provided for trigger to fire. At least one of these must be provided: subjectBeginsWith, subjectEndsWith.
* @property type Trigger type.
* Expected value is 'CustomEventsTrigger'.
*/
public data class CustomEventsTriggerArgs(
public val annotations: Output>? = null,
public val description: Output? = null,
public val events: Output>,
public val pipelines: Output>? = null,
public val scope: Output,
public val subjectBeginsWith: Output? = null,
public val subjectEndsWith: Output? = null,
public val type: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.datafactory.inputs.CustomEventsTriggerArgs =
com.pulumi.azurenative.datafactory.inputs.CustomEventsTriggerArgs.builder()
.annotations(annotations?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.description(description?.applyValue({ args0 -> args0 }))
.events(events.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.pipelines(
pipelines?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.scope(scope.applyValue({ args0 -> args0 }))
.subjectBeginsWith(subjectBeginsWith?.applyValue({ args0 -> args0 }))
.subjectEndsWith(subjectEndsWith?.applyValue({ args0 -> args0 }))
.type(type.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [CustomEventsTriggerArgs].
*/
@PulumiTagMarker
public class CustomEventsTriggerArgsBuilder internal constructor() {
private var annotations: Output>? = null
private var description: Output? = null
private var events: Output>? = null
private var pipelines: Output>? = null
private var scope: Output? = null
private var subjectBeginsWith: Output? = null
private var subjectEndsWith: Output? = null
private var type: Output? = null
/**
* @param value List of tags that can be used for describing the trigger.
*/
@JvmName("ccqwuykgdcagmfxt")
public suspend fun annotations(`value`: Output>) {
this.annotations = value
}
@JvmName("fceseybaiuqiejyb")
public suspend fun annotations(vararg values: Output) {
this.annotations = Output.all(values.asList())
}
/**
* @param values List of tags that can be used for describing the trigger.
*/
@JvmName("hlvmmwdatcptrqxu")
public suspend fun annotations(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy