
com.pulumi.googlenative.compute.alpha.kotlin.inputs.ResourcePolicyWeeklyCycleArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-google-native-kotlin Show documentation
Show all versions of pulumi-google-native-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.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.compute.alpha.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.googlenative.compute.alpha.inputs.ResourcePolicyWeeklyCycleArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Time window specified for weekly operations.
* @property dayOfWeeks Up to 7 intervals/windows, one for each day of the week.
*/
public data class ResourcePolicyWeeklyCycleArgs(
public val dayOfWeeks: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.googlenative.compute.alpha.inputs.ResourcePolicyWeeklyCycleArgs = com.pulumi.googlenative.compute.alpha.inputs.ResourcePolicyWeeklyCycleArgs.builder()
.dayOfWeeks(
dayOfWeeks?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [ResourcePolicyWeeklyCycleArgs].
*/
@PulumiTagMarker
public class ResourcePolicyWeeklyCycleArgsBuilder internal constructor() {
private var dayOfWeeks: Output>? = null
/**
* @param value Up to 7 intervals/windows, one for each day of the week.
*/
@JvmName("drayvsufhfohyhfx")
public suspend fun dayOfWeeks(`value`: Output>) {
this.dayOfWeeks = value
}
@JvmName("xpoonxtroxdqqffh")
public suspend fun dayOfWeeks(vararg values: Output) {
this.dayOfWeeks = Output.all(values.asList())
}
/**
* @param values Up to 7 intervals/windows, one for each day of the week.
*/
@JvmName("gugdkxpoyflpylfs")
public suspend fun dayOfWeeks(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy