
com.pulumi.awsnative.ssmcontacts.kotlin.outputs.RotationShiftCoverage.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.ssmcontacts.kotlin.outputs
import com.pulumi.awsnative.ssmcontacts.kotlin.enums.RotationDayOfWeek
import kotlin.Suppress
import kotlin.collections.List
/**
* Information about the days of the week included in on-call rotation coverage.
* @property coverageTimes Information about when an on-call shift begins and ends.
* @property dayOfWeek A list of days on which the schedule is active.
*/
public data class RotationShiftCoverage(
public val coverageTimes: List,
public val dayOfWeek: RotationDayOfWeek,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.ssmcontacts.outputs.RotationShiftCoverage): RotationShiftCoverage = RotationShiftCoverage(
coverageTimes = javaType.coverageTimes().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.ssmcontacts.kotlin.outputs.RotationCoverageTime.Companion.toKotlin(args0)
})
}),
dayOfWeek = javaType.dayOfWeek().let({ args0 ->
com.pulumi.awsnative.ssmcontacts.kotlin.enums.RotationDayOfWeek.Companion.toKotlin(args0)
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy