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

com.pulumi.azure.datafactory.kotlin.inputs.GetTriggerSchedulePlainArgs.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.GetTriggerSchedulePlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * A collection of arguments for invoking getTriggerSchedule.
 * @property dataFactoryId The ID of the Azure Data Factory to fetch trigger schedule from.
 * @property name The name of the trigger schedule.
 */
public data class GetTriggerSchedulePlainArgs(
    public val dataFactoryId: String,
    public val name: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.datafactory.inputs.GetTriggerSchedulePlainArgs =
        com.pulumi.azure.datafactory.inputs.GetTriggerSchedulePlainArgs.builder()
            .dataFactoryId(dataFactoryId.let({ args0 -> args0 }))
            .name(name.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetTriggerSchedulePlainArgs].
 */
@PulumiTagMarker
public class GetTriggerSchedulePlainArgsBuilder internal constructor() {
    private var dataFactoryId: String? = null

    private var name: String? = null

    /**
     * @param value The ID of the Azure Data Factory to fetch trigger schedule from.
     */
    @JvmName("wiignwnxttekprya")
    public suspend fun dataFactoryId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.dataFactoryId = mapped
    }

    /**
     * @param value The name of the trigger schedule.
     */
    @JvmName("axiofcxrlqgjnhnu")
    public suspend fun name(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.name = mapped
    }

    internal fun build(): GetTriggerSchedulePlainArgs = GetTriggerSchedulePlainArgs(
        dataFactoryId = dataFactoryId ?: throw PulumiNullFieldException("dataFactoryId"),
        name = name ?: throw PulumiNullFieldException("name"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy