
com.pulumi.awsnative.workspacesthinclient.kotlin.inputs.EnvironmentMaintenanceWindowArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.workspacesthinclient.kotlin.inputs
import com.pulumi.awsnative.workspacesthinclient.inputs.EnvironmentMaintenanceWindowArgs.builder
import com.pulumi.awsnative.workspacesthinclient.kotlin.enums.EnvironmentDayOfWeek
import com.pulumi.awsnative.workspacesthinclient.kotlin.enums.EnvironmentMaintenanceWindowApplyTimeOf
import com.pulumi.awsnative.workspacesthinclient.kotlin.enums.EnvironmentMaintenanceWindowType
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property applyTimeOf The desired time zone maintenance window.
* @property daysOfTheWeek The date of maintenance window.
* @property endTimeHour The hour end time of maintenance window.
* @property endTimeMinute The minute end time of maintenance window.
* @property startTimeHour The hour start time of maintenance window.
* @property startTimeMinute The minute start time of maintenance window.
* @property type The type of maintenance window.
*/
public data class EnvironmentMaintenanceWindowArgs(
public val applyTimeOf: Output? = null,
public val daysOfTheWeek: Output>? = null,
public val endTimeHour: Output? = null,
public val endTimeMinute: Output? = null,
public val startTimeHour: Output? = null,
public val startTimeMinute: Output? = null,
public val type: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.workspacesthinclient.inputs.EnvironmentMaintenanceWindowArgs =
com.pulumi.awsnative.workspacesthinclient.inputs.EnvironmentMaintenanceWindowArgs.builder()
.applyTimeOf(applyTimeOf?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.daysOfTheWeek(
daysOfTheWeek?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.endTimeHour(endTimeHour?.applyValue({ args0 -> args0 }))
.endTimeMinute(endTimeMinute?.applyValue({ args0 -> args0 }))
.startTimeHour(startTimeHour?.applyValue({ args0 -> args0 }))
.startTimeMinute(startTimeMinute?.applyValue({ args0 -> args0 }))
.type(type.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [EnvironmentMaintenanceWindowArgs].
*/
@PulumiTagMarker
public class EnvironmentMaintenanceWindowArgsBuilder internal constructor() {
private var applyTimeOf: Output? = null
private var daysOfTheWeek: Output>? = null
private var endTimeHour: Output? = null
private var endTimeMinute: Output? = null
private var startTimeHour: Output? = null
private var startTimeMinute: Output? = null
private var type: Output? = null
/**
* @param value The desired time zone maintenance window.
*/
@JvmName("ycuqwphruplhfaxd")
public suspend fun applyTimeOf(`value`: Output) {
this.applyTimeOf = value
}
/**
* @param value The date of maintenance window.
*/
@JvmName("lyoproyihohbmxwf")
public suspend fun daysOfTheWeek(`value`: Output>) {
this.daysOfTheWeek = value
}
@JvmName("jgqvgdbcrprgguan")
public suspend fun daysOfTheWeek(vararg values: Output) {
this.daysOfTheWeek = Output.all(values.asList())
}
/**
* @param values The date of maintenance window.
*/
@JvmName("eqsboxweqnqtapox")
public suspend fun daysOfTheWeek(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy