com.pulumi.gcp.edgecontainer.kotlin.inputs.ClusterMaintenancePolicyWindowRecurringWindowArgs.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.edgecontainer.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.edgecontainer.inputs.ClusterMaintenancePolicyWindowRecurringWindowArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property recurrence An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
* this window recurs. They go on for the span of time between the start and
* end time.
* @property window Represents an arbitrary window of time.
* Structure is documented below.
*/
public data class ClusterMaintenancePolicyWindowRecurringWindowArgs(
public val recurrence: Output? = null,
public val window: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.edgecontainer.inputs.ClusterMaintenancePolicyWindowRecurringWindowArgs =
com.pulumi.gcp.edgecontainer.inputs.ClusterMaintenancePolicyWindowRecurringWindowArgs.builder()
.recurrence(recurrence?.applyValue({ args0 -> args0 }))
.window(window?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [ClusterMaintenancePolicyWindowRecurringWindowArgs].
*/
@PulumiTagMarker
public class ClusterMaintenancePolicyWindowRecurringWindowArgsBuilder internal constructor() {
private var recurrence: Output? = null
private var window: Output? = null
/**
* @param value An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
* this window recurs. They go on for the span of time between the start and
* end time.
*/
@JvmName("imetsexinonclosn")
public suspend fun recurrence(`value`: Output) {
this.recurrence = value
}
/**
* @param value Represents an arbitrary window of time.
* Structure is documented below.
*/
@JvmName("aftylpymxwsahwwp")
public suspend fun window(`value`: Output) {
this.window = value
}
/**
* @param value An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
* this window recurs. They go on for the span of time between the start and
* end time.
*/
@JvmName("afimycxucsqicmfh")
public suspend fun recurrence(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.recurrence = mapped
}
/**
* @param value Represents an arbitrary window of time.
* Structure is documented below.
*/
@JvmName("amdibcgkddvuqxeo")
public suspend fun window(`value`: ClusterMaintenancePolicyWindowRecurringWindowWindowArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.window = mapped
}
/**
* @param argument Represents an arbitrary window of time.
* Structure is documented below.
*/
@JvmName("hqbxeiimysgxvmvl")
public suspend fun window(argument: suspend ClusterMaintenancePolicyWindowRecurringWindowWindowArgsBuilder.() -> Unit) {
val toBeMapped = ClusterMaintenancePolicyWindowRecurringWindowWindowArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.window = mapped
}
internal fun build(): ClusterMaintenancePolicyWindowRecurringWindowArgs =
ClusterMaintenancePolicyWindowRecurringWindowArgs(
recurrence = recurrence,
window = window,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy