com.pulumi.awsnative.budgets.kotlin.enums.BudgetsActionApprovalModel.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.budgets.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* This specifies if the action needs manual or automatic approval.
*/
public enum class BudgetsActionApprovalModel(
public val javaValue: com.pulumi.awsnative.budgets.enums.BudgetsActionApprovalModel,
) : ConvertibleToJava {
Automatic(com.pulumi.awsnative.budgets.enums.BudgetsActionApprovalModel.Automatic),
Manual(com.pulumi.awsnative.budgets.enums.BudgetsActionApprovalModel.Manual),
;
override fun toJava(): com.pulumi.awsnative.budgets.enums.BudgetsActionApprovalModel = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.budgets.enums.BudgetsActionApprovalModel): BudgetsActionApprovalModel =
BudgetsActionApprovalModel.values().first { it.javaValue == javaType }
}
}