com.pulumi.gcp.dataloss.kotlin.inputs.PreventionJobTriggerTriggerScheduleArgs.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.dataloss.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerTriggerScheduleArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property recurrencePeriodDuration With this option a job is started a regular periodic basis. For example: every day (86400 seconds).
* A scheduled start time will be skipped if the previous execution has not ended when its scheduled time occurs.
* This value must be set to a time duration greater than or equal to 1 day and can be no longer than 60 days.
* A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
* - - -
*/
public data class PreventionJobTriggerTriggerScheduleArgs(
public val recurrencePeriodDuration: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerTriggerScheduleArgs =
com.pulumi.gcp.dataloss.inputs.PreventionJobTriggerTriggerScheduleArgs.builder()
.recurrencePeriodDuration(recurrencePeriodDuration?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [PreventionJobTriggerTriggerScheduleArgs].
*/
@PulumiTagMarker
public class PreventionJobTriggerTriggerScheduleArgsBuilder internal constructor() {
private var recurrencePeriodDuration: Output? = null
/**
* @param value With this option a job is started a regular periodic basis. For example: every day (86400 seconds).
* A scheduled start time will be skipped if the previous execution has not ended when its scheduled time occurs.
* This value must be set to a time duration greater than or equal to 1 day and can be no longer than 60 days.
* A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
* - - -
*/
@JvmName("irdlwordcmkviivc")
public suspend fun recurrencePeriodDuration(`value`: Output) {
this.recurrencePeriodDuration = value
}
/**
* @param value With this option a job is started a regular periodic basis. For example: every day (86400 seconds).
* A scheduled start time will be skipped if the previous execution has not ended when its scheduled time occurs.
* This value must be set to a time duration greater than or equal to 1 day and can be no longer than 60 days.
* A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
* - - -
*/
@JvmName("cbsddffrqssblmcw")
public suspend fun recurrencePeriodDuration(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.recurrencePeriodDuration = mapped
}
internal fun build(): PreventionJobTriggerTriggerScheduleArgs =
PreventionJobTriggerTriggerScheduleArgs(
recurrencePeriodDuration = recurrencePeriodDuration,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy