All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.googlenative.compute.beta.kotlin.inputs.ResourcePolicyWeeklyCycleDayOfWeekArgs.kt Maven / Gradle / Ivy

Go to download

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.beta.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.googlenative.compute.beta.inputs.ResourcePolicyWeeklyCycleDayOfWeekArgs.builder
import com.pulumi.googlenative.compute.beta.kotlin.enums.ResourcePolicyWeeklyCycleDayOfWeekDay
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property day Defines a schedule that runs on specific days of the week. Specify one or more days. The following options are available: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY.
 * @property startTime Time within the window to start the operations. It must be in format "HH:MM", where HH : [00-23] and MM : [00-00] GMT.
 */
public data class ResourcePolicyWeeklyCycleDayOfWeekArgs(
    public val day: Output? = null,
    public val startTime: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.googlenative.compute.beta.inputs.ResourcePolicyWeeklyCycleDayOfWeekArgs =
        com.pulumi.googlenative.compute.beta.inputs.ResourcePolicyWeeklyCycleDayOfWeekArgs.builder()
            .day(day?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .startTime(startTime?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ResourcePolicyWeeklyCycleDayOfWeekArgs].
 */
@PulumiTagMarker
public class ResourcePolicyWeeklyCycleDayOfWeekArgsBuilder internal constructor() {
    private var day: Output? = null

    private var startTime: Output? = null

    /**
     * @param value Defines a schedule that runs on specific days of the week. Specify one or more days. The following options are available: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY.
     */
    @JvmName("kiautghkiwkwtufe")
    public suspend fun day(`value`: Output) {
        this.day = value
    }

    /**
     * @param value Time within the window to start the operations. It must be in format "HH:MM", where HH : [00-23] and MM : [00-00] GMT.
     */
    @JvmName("nthborwhltnukeod")
    public suspend fun startTime(`value`: Output) {
        this.startTime = value
    }

    /**
     * @param value Defines a schedule that runs on specific days of the week. Specify one or more days. The following options are available: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY.
     */
    @JvmName("jqbyhfbfytiengfg")
    public suspend fun day(`value`: ResourcePolicyWeeklyCycleDayOfWeekDay?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.day = mapped
    }

    /**
     * @param value Time within the window to start the operations. It must be in format "HH:MM", where HH : [00-23] and MM : [00-00] GMT.
     */
    @JvmName("vflljyvyspufemof")
    public suspend fun startTime(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.startTime = mapped
    }

    internal fun build(): ResourcePolicyWeeklyCycleDayOfWeekArgs =
        ResourcePolicyWeeklyCycleDayOfWeekArgs(
            day = day,
            startTime = startTime,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy