
com.pulumi.awsnative.datazone.kotlin.inputs.DataSourceScheduleConfigurationArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.datazone.kotlin.inputs
import com.pulumi.awsnative.datazone.inputs.DataSourceScheduleConfigurationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* The schedule of the data source runs.
* @property schedule The schedule of the data source runs.
* @property timezone The timezone of the data source run.
*/
public data class DataSourceScheduleConfigurationArgs(
public val schedule: Output? = null,
public val timezone: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.datazone.inputs.DataSourceScheduleConfigurationArgs =
com.pulumi.awsnative.datazone.inputs.DataSourceScheduleConfigurationArgs.builder()
.schedule(schedule?.applyValue({ args0 -> args0 }))
.timezone(timezone?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DataSourceScheduleConfigurationArgs].
*/
@PulumiTagMarker
public class DataSourceScheduleConfigurationArgsBuilder internal constructor() {
private var schedule: Output? = null
private var timezone: Output? = null
/**
* @param value The schedule of the data source runs.
*/
@JvmName("jbptwdpjpyjvyvfv")
public suspend fun schedule(`value`: Output) {
this.schedule = value
}
/**
* @param value The timezone of the data source run.
*/
@JvmName("ujnlyxywrssinvpb")
public suspend fun timezone(`value`: Output) {
this.timezone = value
}
/**
* @param value The schedule of the data source runs.
*/
@JvmName("bnaryhfqtguqqfpm")
public suspend fun schedule(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.schedule = mapped
}
/**
* @param value The timezone of the data source run.
*/
@JvmName("vxlhairiggellfvx")
public suspend fun timezone(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.timezone = mapped
}
internal fun build(): DataSourceScheduleConfigurationArgs = DataSourceScheduleConfigurationArgs(
schedule = schedule,
timezone = timezone,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy