
com.pulumi.googlenative.bigquerydatatransfer.v1.kotlin.inputs.ScheduleOptionsArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-google-native-kotlin Show documentation
Show all versions of pulumi-google-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.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.bigquerydatatransfer.v1.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.googlenative.bigquerydatatransfer.v1.inputs.ScheduleOptionsArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Options customizing the data transfer schedule.
* @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 StartManualTransferRuns 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 trigerred 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 trigerred manually is not limited by this option.
*/
public data class ScheduleOptionsArgs(
public val disableAutoScheduling: Output? = null,
public val endTime: Output? = null,
public val startTime: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.googlenative.bigquerydatatransfer.v1.inputs.ScheduleOptionsArgs = com.pulumi.googlenative.bigquerydatatransfer.v1.inputs.ScheduleOptionsArgs.builder()
.disableAutoScheduling(disableAutoScheduling?.applyValue({ args0 -> args0 }))
.endTime(endTime?.applyValue({ args0 -> args0 }))
.startTime(startTime?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ScheduleOptionsArgs].
*/
@PulumiTagMarker
public class ScheduleOptionsArgsBuilder 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 StartManualTransferRuns API. When automatic scheduling is disabled, the TransferConfig.schedule field will be ignored.
*/
@JvmName("afqfdyrlrbtysxbm")
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 trigerred manually is not limited by this option.
*/
@JvmName("oxbqbceqteiuqsdp")
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 trigerred manually is not limited by this option.
*/
@JvmName("tvfhrxwlnuvykreu")
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 StartManualTransferRuns API. When automatic scheduling is disabled, the TransferConfig.schedule field will be ignored.
*/
@JvmName("awrdmvksehobkcbd")
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 trigerred manually is not limited by this option.
*/
@JvmName("ktbvwgotuvvbvgbv")
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 trigerred manually is not limited by this option.
*/
@JvmName("mwqywfigniiblvho")
public suspend fun startTime(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.startTime = mapped
}
internal fun build(): ScheduleOptionsArgs = ScheduleOptionsArgs(
disableAutoScheduling = disableAutoScheduling,
endTime = endTime,
startTime = startTime,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy