com.pulumi.awsnative.resiliencehub.kotlin.enums.ResiliencyPolicyDataLocationConstraint.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.resiliencehub.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* Data Location Constraint of the Policy.
*/
public enum class ResiliencyPolicyDataLocationConstraint(
public val javaValue: com.pulumi.awsnative.resiliencehub.enums.ResiliencyPolicyDataLocationConstraint,
) :
ConvertibleToJava {
AnyLocation(com.pulumi.awsnative.resiliencehub.enums.ResiliencyPolicyDataLocationConstraint.AnyLocation),
SameContinent(com.pulumi.awsnative.resiliencehub.enums.ResiliencyPolicyDataLocationConstraint.SameContinent),
SameCountry(com.pulumi.awsnative.resiliencehub.enums.ResiliencyPolicyDataLocationConstraint.SameCountry),
;
override fun toJava(): com.pulumi.awsnative.resiliencehub.enums.ResiliencyPolicyDataLocationConstraint = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.resiliencehub.enums.ResiliencyPolicyDataLocationConstraint): ResiliencyPolicyDataLocationConstraint =
ResiliencyPolicyDataLocationConstraint.values().first { it.javaValue == javaType }
}
}