com.pulumi.azurenative.datafactory.kotlin.enums.RecurrenceFrequency.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.datafactory.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* The frequency.
*/
public enum class RecurrenceFrequency(
public val javaValue: com.pulumi.azurenative.datafactory.enums.RecurrenceFrequency,
) : ConvertibleToJava {
NotSpecified(com.pulumi.azurenative.datafactory.enums.RecurrenceFrequency.NotSpecified),
Minute(com.pulumi.azurenative.datafactory.enums.RecurrenceFrequency.Minute),
Hour(com.pulumi.azurenative.datafactory.enums.RecurrenceFrequency.Hour),
Day(com.pulumi.azurenative.datafactory.enums.RecurrenceFrequency.Day),
Week(com.pulumi.azurenative.datafactory.enums.RecurrenceFrequency.Week),
Month(com.pulumi.azurenative.datafactory.enums.RecurrenceFrequency.Month),
Year(com.pulumi.azurenative.datafactory.enums.RecurrenceFrequency.Year),
;
override fun toJava(): com.pulumi.azurenative.datafactory.enums.RecurrenceFrequency = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.datafactory.enums.RecurrenceFrequency): RecurrenceFrequency = RecurrenceFrequency.values().first { it.javaValue == javaType }
}
}