com.pulumi.gcp.dataflow.kotlin.inputs.PipelineScheduleInfoArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.dataflow.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.dataflow.inputs.PipelineScheduleInfoArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property nextJobTime (Output)
* When the next Scheduler job is going to run.
* A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
* @property schedule Unix-cron format of the schedule. This information is retrieved from the linked Cloud Scheduler.
* @property timeZone Timezone ID. This matches the timezone IDs used by the Cloud Scheduler API. If empty, UTC time is assumed.
*/
public data class PipelineScheduleInfoArgs(
public val nextJobTime: Output? = null,
public val schedule: Output? = null,
public val timeZone: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.dataflow.inputs.PipelineScheduleInfoArgs =
com.pulumi.gcp.dataflow.inputs.PipelineScheduleInfoArgs.builder()
.nextJobTime(nextJobTime?.applyValue({ args0 -> args0 }))
.schedule(schedule?.applyValue({ args0 -> args0 }))
.timeZone(timeZone?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [PipelineScheduleInfoArgs].
*/
@PulumiTagMarker
public class PipelineScheduleInfoArgsBuilder internal constructor() {
private var nextJobTime: Output? = null
private var schedule: Output? = null
private var timeZone: Output? = null
/**
* @param value (Output)
* When the next Scheduler job is going to run.
* A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
*/
@JvmName("ufuspwwxqcopxbqq")
public suspend fun nextJobTime(`value`: Output) {
this.nextJobTime = value
}
/**
* @param value Unix-cron format of the schedule. This information is retrieved from the linked Cloud Scheduler.
*/
@JvmName("qqeoedovkdeucddm")
public suspend fun schedule(`value`: Output) {
this.schedule = value
}
/**
* @param value Timezone ID. This matches the timezone IDs used by the Cloud Scheduler API. If empty, UTC time is assumed.
*/
@JvmName("sivnyuicravchpdb")
public suspend fun timeZone(`value`: Output) {
this.timeZone = value
}
/**
* @param value (Output)
* When the next Scheduler job is going to run.
* A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
*/
@JvmName("fpclqbrjohcqpvpi")
public suspend fun nextJobTime(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.nextJobTime = mapped
}
/**
* @param value Unix-cron format of the schedule. This information is retrieved from the linked Cloud Scheduler.
*/
@JvmName("dufwjqrlbhfquwop")
public suspend fun schedule(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.schedule = mapped
}
/**
* @param value Timezone ID. This matches the timezone IDs used by the Cloud Scheduler API. If empty, UTC time is assumed.
*/
@JvmName("ndqkmlbhlmnsymus")
public suspend fun timeZone(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.timeZone = mapped
}
internal fun build(): PipelineScheduleInfoArgs = PipelineScheduleInfoArgs(
nextJobTime = nextJobTime,
schedule = schedule,
timeZone = timeZone,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy