com.pulumi.awsnative.budgets.kotlin.outputs.BudgetsActionActionThreshold.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.outputs
import com.pulumi.awsnative.budgets.kotlin.enums.BudgetsActionActionThresholdType
import kotlin.Double
import kotlin.Suppress
/**
*
* @property type The type of threshold for a notification.
* @property value The threshold of a notification.
*/
public data class BudgetsActionActionThreshold(
public val type: BudgetsActionActionThresholdType,
public val `value`: Double,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.budgets.outputs.BudgetsActionActionThreshold): BudgetsActionActionThreshold = BudgetsActionActionThreshold(
type = javaType.type().let({ args0 ->
com.pulumi.awsnative.budgets.kotlin.enums.BudgetsActionActionThresholdType.Companion.toKotlin(args0)
}),
`value` = javaType.`value`(),
)
}
}