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

com.pulumi.gcp.bigquery.kotlin.inputs.DataTransferConfigScheduleOptionsArgs.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: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.bigquery.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.bigquery.inputs.DataTransferConfigScheduleOptionsArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property disableAutoScheduling If true, automatic scheduling of data transfer runs for this
 * configuration will be disabled. The runs can be started on ad-hoc
 * basis using transferConfigs.startManualRuns API. When automatic
 * scheduling is disabled, the TransferConfig.schedule field will
 * be ignored.
 * @property endTime Defines time to stop scheduling transfer runs. A transfer run cannot be
 * scheduled at or after the end time. The end time can be changed at any
 * moment. The time when a data transfer can be triggered manually is not
 * limited by this option.
 * @property startTime Specifies time to start scheduling transfer runs. The first run will be
 * scheduled at or after the start time according to a recurrence pattern
 * defined in the schedule string. The start time can be changed at any
 * moment. The time when a data transfer can be triggered manually is not
 * limited by this option.
 */
public data class DataTransferConfigScheduleOptionsArgs(
    public val disableAutoScheduling: Output? = null,
    public val endTime: Output? = null,
    public val startTime: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.bigquery.inputs.DataTransferConfigScheduleOptionsArgs =
        com.pulumi.gcp.bigquery.inputs.DataTransferConfigScheduleOptionsArgs.builder()
            .disableAutoScheduling(disableAutoScheduling?.applyValue({ args0 -> args0 }))
            .endTime(endTime?.applyValue({ args0 -> args0 }))
            .startTime(startTime?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [DataTransferConfigScheduleOptionsArgs].
 */
@PulumiTagMarker
public class DataTransferConfigScheduleOptionsArgsBuilder internal constructor() {
    private var disableAutoScheduling: Output? = null

    private var endTime: Output? = null

    private var startTime: Output? = null

    /**
     * @param value If true, automatic scheduling of data transfer runs for this
     * configuration will be disabled. The runs can be started on ad-hoc
     * basis using transferConfigs.startManualRuns API. When automatic
     * scheduling is disabled, the TransferConfig.schedule field will
     * be ignored.
     */
    @JvmName("uqskbnebkjshxqlr")
    public suspend fun disableAutoScheduling(`value`: Output) {
        this.disableAutoScheduling = value
    }

    /**
     * @param value Defines time to stop scheduling transfer runs. A transfer run cannot be
     * scheduled at or after the end time. The end time can be changed at any
     * moment. The time when a data transfer can be triggered manually is not
     * limited by this option.
     */
    @JvmName("oxipvwiqardugdxc")
    public suspend fun endTime(`value`: Output) {
        this.endTime = value
    }

    /**
     * @param value Specifies time to start scheduling transfer runs. The first run will be
     * scheduled at or after the start time according to a recurrence pattern
     * defined in the schedule string. The start time can be changed at any
     * moment. The time when a data transfer can be triggered manually is not
     * limited by this option.
     */
    @JvmName("hlrgenjgceutsfkf")
    public suspend fun startTime(`value`: Output) {
        this.startTime = value
    }

    /**
     * @param value If true, automatic scheduling of data transfer runs for this
     * configuration will be disabled. The runs can be started on ad-hoc
     * basis using transferConfigs.startManualRuns API. When automatic
     * scheduling is disabled, the TransferConfig.schedule field will
     * be ignored.
     */
    @JvmName("ftqcvommjynovllh")
    public suspend fun disableAutoScheduling(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.disableAutoScheduling = mapped
    }

    /**
     * @param value Defines time to stop scheduling transfer runs. A transfer run cannot be
     * scheduled at or after the end time. The end time can be changed at any
     * moment. The time when a data transfer can be triggered manually is not
     * limited by this option.
     */
    @JvmName("frhieeqygepkrmci")
    public suspend fun endTime(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.endTime = mapped
    }

    /**
     * @param value Specifies time to start scheduling transfer runs. The first run will be
     * scheduled at or after the start time according to a recurrence pattern
     * defined in the schedule string. The start time can be changed at any
     * moment. The time when a data transfer can be triggered manually is not
     * limited by this option.
     */
    @JvmName("ebocsuowhkrualql")
    public suspend fun startTime(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.startTime = mapped
    }

    internal fun build(): DataTransferConfigScheduleOptionsArgs =
        DataTransferConfigScheduleOptionsArgs(
            disableAutoScheduling = disableAutoScheduling,
            endTime = endTime,
            startTime = startTime,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy