All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.datafactory.kotlin.inputs.TriggerSchedulePipelineArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.datafactory.kotlin.inputs

import com.pulumi.azure.datafactory.inputs.TriggerSchedulePipelineArgs.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 kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
import kotlin.jvm.JvmName

/**
 *
 * @property name Reference pipeline name.
 * @property parameters The pipeline parameters that the trigger will act upon.
 */
public data class TriggerSchedulePipelineArgs(
    public val name: Output,
    public val parameters: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.datafactory.inputs.TriggerSchedulePipelineArgs =
        com.pulumi.azure.datafactory.inputs.TriggerSchedulePipelineArgs.builder()
            .name(name.applyValue({ args0 -> args0 }))
            .parameters(
                parameters?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.key.to(args0.value)
                    }).toMap()
                }),
            ).build()
}

/**
 * Builder for [TriggerSchedulePipelineArgs].
 */
@PulumiTagMarker
public class TriggerSchedulePipelineArgsBuilder internal constructor() {
    private var name: Output? = null

    private var parameters: Output>? = null

    /**
     * @param value Reference pipeline name.
     */
    @JvmName("thnnhuhjkednqbxl")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value The pipeline parameters that the trigger will act upon.
     */
    @JvmName("hniklkjyxwncdfxk")
    public suspend fun parameters(`value`: Output>) {
        this.parameters = value
    }

    /**
     * @param value Reference pipeline name.
     */
    @JvmName("ysxafewqoswtpwun")
    public suspend fun name(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value The pipeline parameters that the trigger will act upon.
     */
    @JvmName("cabxljsbbyisiviq")
    public suspend fun parameters(`value`: Map?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.parameters = mapped
    }

    /**
     * @param values The pipeline parameters that the trigger will act upon.
     */
    @JvmName("rodsxemaihpdmlxt")
    public fun parameters(vararg values: Pair) {
        val toBeMapped = values.toMap()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.parameters = mapped
    }

    internal fun build(): TriggerSchedulePipelineArgs = TriggerSchedulePipelineArgs(
        name = name ?: throw PulumiNullFieldException("name"),
        parameters = parameters,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy