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

com.pulumi.awsnative.appintegrations.kotlin.inputs.DataIntegrationScheduleConfigArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.appintegrations.kotlin.inputs

import com.pulumi.awsnative.appintegrations.inputs.DataIntegrationScheduleConfigArgs.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.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property firstExecutionFrom The start date for objects to import in the first flow run. Epoch or ISO timestamp format is supported.
 * @property object The name of the object to pull from the data source.
 * @property scheduleExpression How often the data should be pulled from data source.
 */
public data class DataIntegrationScheduleConfigArgs(
    public val firstExecutionFrom: Output? = null,
    public val `object`: Output? = null,
    public val scheduleExpression: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.appintegrations.inputs.DataIntegrationScheduleConfigArgs =
        com.pulumi.awsnative.appintegrations.inputs.DataIntegrationScheduleConfigArgs.builder()
            .firstExecutionFrom(firstExecutionFrom?.applyValue({ args0 -> args0 }))
            .`object`(`object`?.applyValue({ args0 -> args0 }))
            .scheduleExpression(scheduleExpression.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [DataIntegrationScheduleConfigArgs].
 */
@PulumiTagMarker
public class DataIntegrationScheduleConfigArgsBuilder internal constructor() {
    private var firstExecutionFrom: Output? = null

    private var `object`: Output? = null

    private var scheduleExpression: Output? = null

    /**
     * @param value The start date for objects to import in the first flow run. Epoch or ISO timestamp format is supported.
     */
    @JvmName("objafuvppuraaslr")
    public suspend fun firstExecutionFrom(`value`: Output) {
        this.firstExecutionFrom = value
    }

    /**
     * @param value The name of the object to pull from the data source.
     */
    @JvmName("wieyackonssgwkru")
    public suspend fun `object`(`value`: Output) {
        this.`object` = value
    }

    /**
     * @param value How often the data should be pulled from data source.
     */
    @JvmName("mmpmtrggssronvkj")
    public suspend fun scheduleExpression(`value`: Output) {
        this.scheduleExpression = value
    }

    /**
     * @param value The start date for objects to import in the first flow run. Epoch or ISO timestamp format is supported.
     */
    @JvmName("cvyhkogbbavybsjb")
    public suspend fun firstExecutionFrom(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.firstExecutionFrom = mapped
    }

    /**
     * @param value The name of the object to pull from the data source.
     */
    @JvmName("wenifbmydmndicxh")
    public suspend fun `object`(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.`object` = mapped
    }

    /**
     * @param value How often the data should be pulled from data source.
     */
    @JvmName("yaivqinqamtlhewy")
    public suspend fun scheduleExpression(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.scheduleExpression = mapped
    }

    internal fun build(): DataIntegrationScheduleConfigArgs = DataIntegrationScheduleConfigArgs(
        firstExecutionFrom = firstExecutionFrom,
        `object` = `object`,
        scheduleExpression = scheduleExpression ?: throw PulumiNullFieldException("scheduleExpression"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy