com.pulumi.gcp.dataflow.kotlin.outputs.PipelineScheduleInfo.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.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @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 PipelineScheduleInfo(
public val nextJobTime: String? = null,
public val schedule: String? = null,
public val timeZone: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.dataflow.outputs.PipelineScheduleInfo): PipelineScheduleInfo = PipelineScheduleInfo(
nextJobTime = javaType.nextJobTime().map({ args0 -> args0 }).orElse(null),
schedule = javaType.schedule().map({ args0 -> args0 }).orElse(null),
timeZone = javaType.timeZone().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy