com.pulumi.awsnative.cleanrooms.kotlin.outputs.ConfiguredTableAnalysisRule.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.cleanrooms.kotlin.outputs
import com.pulumi.awsnative.cleanrooms.kotlin.enums.ConfiguredTableAnalysisRuleType
import kotlin.Suppress
/**
*
* @property policy A policy that describes the associated data usage limitations.
* @property type The type of analysis rule.
*/
public data class ConfiguredTableAnalysisRule(
public val policy: ConfiguredTableAnalysisRulePolicy,
public val type: ConfiguredTableAnalysisRuleType,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.cleanrooms.outputs.ConfiguredTableAnalysisRule): ConfiguredTableAnalysisRule = ConfiguredTableAnalysisRule(
policy = javaType.policy().let({ args0 ->
com.pulumi.awsnative.cleanrooms.kotlin.outputs.ConfiguredTableAnalysisRulePolicy.Companion.toKotlin(args0)
}),
type = javaType.type().let({ args0 ->
com.pulumi.awsnative.cleanrooms.kotlin.enums.ConfiguredTableAnalysisRuleType.Companion.toKotlin(args0)
}),
)
}
}