com.pulumi.gcp.compute.kotlin.inputs.ResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleArgs.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.compute.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.compute.inputs.ResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property dayOfWeeks May contain up to seven (one for each day of the week) snapshot times.
* Structure is documented below.
*/
public data class ResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleArgs(
public val dayOfWeeks: Output>,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.compute.inputs.ResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleArgs =
com.pulumi.gcp.compute.inputs.ResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleArgs.builder()
.dayOfWeeks(
dayOfWeeks.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [ResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleArgs].
*/
@PulumiTagMarker
public class ResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleArgsBuilder internal constructor() {
private var dayOfWeeks:
Output>? = null
/**
* @param value May contain up to seven (one for each day of the week) snapshot times.
* Structure is documented below.
*/
@JvmName("pacwygnsbifysanf")
public suspend fun dayOfWeeks(`value`: Output>) {
this.dayOfWeeks = value
}
@JvmName("wqctqhsaxriypgec")
public suspend fun dayOfWeeks(vararg values: Output) {
this.dayOfWeeks = Output.all(values.asList())
}
/**
* @param values May contain up to seven (one for each day of the week) snapshot times.
* Structure is documented below.
*/
@JvmName("vpdaawleyareqlht")
public suspend fun dayOfWeeks(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy