
com.pulumi.azurenative.desktopvirtualization.kotlin.inputs.MaintenanceWindowPropertiesArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.desktopvirtualization.kotlin.inputs
import com.pulumi.azurenative.desktopvirtualization.inputs.MaintenanceWindowPropertiesArgs.builder
import com.pulumi.azurenative.desktopvirtualization.kotlin.enums.DayOfWeek
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Maintenance window starting hour and day of week.
* @property dayOfWeek Day of the week.
* @property hour The update start hour of the day. (0 - 23)
*/
public data class MaintenanceWindowPropertiesArgs(
public val dayOfWeek: Output? = null,
public val hour: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.desktopvirtualization.inputs.MaintenanceWindowPropertiesArgs =
com.pulumi.azurenative.desktopvirtualization.inputs.MaintenanceWindowPropertiesArgs.builder()
.dayOfWeek(dayOfWeek?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.hour(hour?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [MaintenanceWindowPropertiesArgs].
*/
@PulumiTagMarker
public class MaintenanceWindowPropertiesArgsBuilder internal constructor() {
private var dayOfWeek: Output? = null
private var hour: Output? = null
/**
* @param value Day of the week.
*/
@JvmName("pcvnhiepwxbpuiwn")
public suspend fun dayOfWeek(`value`: Output) {
this.dayOfWeek = value
}
/**
* @param value The update start hour of the day. (0 - 23)
*/
@JvmName("ixbwytlfogrhycqx")
public suspend fun hour(`value`: Output) {
this.hour = value
}
/**
* @param value Day of the week.
*/
@JvmName("xmhpskgxudnkwpsm")
public suspend fun dayOfWeek(`value`: DayOfWeek?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.dayOfWeek = mapped
}
/**
* @param value The update start hour of the day. (0 - 23)
*/
@JvmName("sdegrakddjjvfwfc")
public suspend fun hour(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.hour = mapped
}
internal fun build(): MaintenanceWindowPropertiesArgs = MaintenanceWindowPropertiesArgs(
dayOfWeek = dayOfWeek,
hour = hour,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy