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

com.pulumi.gcp.compute.kotlin.inputs.ResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeekArgs.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.

There is a newer version: 8.13.1.0
Show newest version
@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.ResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeekArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property day The day of the week to create the snapshot. e.g. MONDAY
 * Possible values are: `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 ResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeekArgs(
    public val day: Output,
    public val startTime: Output,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.compute.inputs.ResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeekArgs =
        com.pulumi.gcp.compute.inputs.ResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeekArgs.builder()
            .day(day.applyValue({ args0 -> args0 }))
            .startTime(startTime.applyValue({ args0 -> args0 })).build()
}

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

    private var startTime: Output? = null

    /**
     * @param value The day of the week to create the snapshot. e.g. MONDAY
     * Possible values are: `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`, `SUNDAY`.
     */
    @JvmName("ufdeucowqrxhkxno")
    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("gslndttroqguqjrv")
    public suspend fun startTime(`value`: Output) {
        this.startTime = value
    }

    /**
     * @param value The day of the week to create the snapshot. e.g. MONDAY
     * Possible values are: `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`, `SUNDAY`.
     */
    @JvmName("aldorokruddifryv")
    public suspend fun day(`value`: String) {
        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("unkjdnsutimfsxbi")
    public suspend fun startTime(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.startTime = mapped
    }

    internal fun build(): ResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeekArgs =
        ResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeekArgs(
            day = day ?: throw PulumiNullFieldException("day"),
            startTime = startTime ?: throw PulumiNullFieldException("startTime"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy