
com.pulumi.awsnative.workspacesthinclient.kotlin.outputs.EnvironmentMaintenanceWindow.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.awsnative.workspacesthinclient.kotlin.outputs
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 kotlin.Int
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @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 EnvironmentMaintenanceWindow(
public val applyTimeOf: EnvironmentMaintenanceWindowApplyTimeOf? = null,
public val daysOfTheWeek: List? = null,
public val endTimeHour: Int? = null,
public val endTimeMinute: Int? = null,
public val startTimeHour: Int? = null,
public val startTimeMinute: Int? = null,
public val type: EnvironmentMaintenanceWindowType,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.workspacesthinclient.outputs.EnvironmentMaintenanceWindow): EnvironmentMaintenanceWindow = EnvironmentMaintenanceWindow(
applyTimeOf = javaType.applyTimeOf().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.workspacesthinclient.kotlin.enums.EnvironmentMaintenanceWindowApplyTimeOf.Companion.toKotlin(args0)
})
}).orElse(null),
daysOfTheWeek = javaType.daysOfTheWeek().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.workspacesthinclient.kotlin.enums.EnvironmentDayOfWeek.Companion.toKotlin(args0)
})
}),
endTimeHour = javaType.endTimeHour().map({ args0 -> args0 }).orElse(null),
endTimeMinute = javaType.endTimeMinute().map({ args0 -> args0 }).orElse(null),
startTimeHour = javaType.startTimeHour().map({ args0 -> args0 }).orElse(null),
startTimeMinute = javaType.startTimeMinute().map({ args0 -> args0 }).orElse(null),
type = javaType.type().let({ args0 ->
com.pulumi.awsnative.workspacesthinclient.kotlin.enums.EnvironmentMaintenanceWindowType.Companion.toKotlin(args0)
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy