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

com.pulumi.azure.datafactory.kotlin.outputs.TriggerScheduleSchedule.kt Maven / Gradle / Ivy

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

package com.pulumi.azure.datafactory.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property daysOfMonths Day(s) of the month on which the trigger is scheduled. This value can be specified with a monthly frequency only.
 * @property daysOfWeeks Days of the week on which the trigger is scheduled. This value can be specified only with a weekly frequency.
 * @property hours Hours of the day on which the trigger is scheduled.
 * @property minutes Minutes of the hour on which the trigger is scheduled.
 * @property monthlies A `monthly` block as documented below, which specifies the days of the month on which the trigger is scheduled. The value can be specified only with a monthly frequency.
 */
public data class TriggerScheduleSchedule(
    public val daysOfMonths: List? = null,
    public val daysOfWeeks: List? = null,
    public val hours: List? = null,
    public val minutes: List? = null,
    public val monthlies: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.datafactory.outputs.TriggerScheduleSchedule): TriggerScheduleSchedule = TriggerScheduleSchedule(
            daysOfMonths = javaType.daysOfMonths().map({ args0 -> args0 }),
            daysOfWeeks = javaType.daysOfWeeks().map({ args0 -> args0 }),
            hours = javaType.hours().map({ args0 -> args0 }),
            minutes = javaType.minutes().map({ args0 -> args0 }),
            monthlies = javaType.monthlies().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.datafactory.kotlin.outputs.TriggerScheduleScheduleMonthly.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy