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

com.pulumi.azure.lab.kotlin.outputs.ScheduleRecurrence.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.lab.kotlin.outputs

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

/**
 *
 * @property expirationDate When the recurrence will expire in RFC-3339 format.
 * @property frequency The frequency of the recurrence. Possible values are `Daily` and `Weekly`.
 * @property interval The interval to invoke the schedule on. Possible values are between `1` and `365`.
 * @property weekDays The interval to invoke the schedule on. Possible values are `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday` and `Saturday`.
 */
public data class ScheduleRecurrence(
    public val expirationDate: String,
    public val frequency: String,
    public val interval: Int? = null,
    public val weekDays: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.lab.outputs.ScheduleRecurrence):
            ScheduleRecurrence = ScheduleRecurrence(
            expirationDate = javaType.expirationDate(),
            frequency = javaType.frequency(),
            interval = javaType.interval().map({ args0 -> args0 }).orElse(null),
            weekDays = javaType.weekDays().map({ args0 -> args0 }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy