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

com.pulumi.awsnative.inspectorv2.kotlin.outputs.CisScanConfigurationSchedule.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.inspectorv2.kotlin.outputs

import kotlin.Suppress

/**
 * Choose a Schedule cadence
 * @property daily
 * @property monthly
 * @property oneTime
 * @property weekly
 */
public data class CisScanConfigurationSchedule(
    public val daily: CisScanConfigurationDailySchedule? = null,
    public val monthly: CisScanConfigurationMonthlySchedule? = null,
    public val oneTime: CisScanConfigurationOneTimeSchedule? = null,
    public val weekly: CisScanConfigurationWeeklySchedule? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.inspectorv2.outputs.CisScanConfigurationSchedule): CisScanConfigurationSchedule = CisScanConfigurationSchedule(
            daily = javaType.daily().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.inspectorv2.kotlin.outputs.CisScanConfigurationDailySchedule.Companion.toKotlin(args0)
                })
            }).orElse(null),
            monthly = javaType.monthly().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.inspectorv2.kotlin.outputs.CisScanConfigurationMonthlySchedule.Companion.toKotlin(args0)
                })
            }).orElse(null),
            oneTime = javaType.oneTime().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.inspectorv2.kotlin.outputs.CisScanConfigurationOneTimeSchedule.Companion.toKotlin(args0)
                })
            }).orElse(null),
            weekly = javaType.weekly().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.inspectorv2.kotlin.outputs.CisScanConfigurationWeeklySchedule.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy