commonMain.aws.sdk.kotlin.services.cleanrooms.model.ConfiguredTableAnalysisRulePolicy.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cleanrooms-jvm Show documentation
Show all versions of cleanrooms-jvm Show documentation
The AWS SDK for Kotlin client for CleanRooms
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.cleanrooms.model
/**
* Controls on the query specifications that can be run on a configured table.
*/
public sealed class ConfiguredTableAnalysisRulePolicy {
/**
* Controls on the query specifications that can be run on a configured table.
*/
public data class V1(val value: aws.sdk.kotlin.services.cleanrooms.model.ConfiguredTableAnalysisRulePolicyV1) : aws.sdk.kotlin.services.cleanrooms.model.ConfiguredTableAnalysisRulePolicy() {
}
public object SdkUnknown : aws.sdk.kotlin.services.cleanrooms.model.ConfiguredTableAnalysisRulePolicy() {
}
/**
* Casts this [ConfiguredTableAnalysisRulePolicy] as a [V1] and retrieves its [aws.sdk.kotlin.services.cleanrooms.model.ConfiguredTableAnalysisRulePolicyV1] value. Throws an exception if the [ConfiguredTableAnalysisRulePolicy] is not a
* [V1].
*/
public fun asV1(): aws.sdk.kotlin.services.cleanrooms.model.ConfiguredTableAnalysisRulePolicyV1 = (this as ConfiguredTableAnalysisRulePolicy.V1).value
/**
* Casts this [ConfiguredTableAnalysisRulePolicy] as a [V1] and retrieves its [aws.sdk.kotlin.services.cleanrooms.model.ConfiguredTableAnalysisRulePolicyV1] value. Returns null if the [ConfiguredTableAnalysisRulePolicy] is not a [V1].
*/
public fun asV1OrNull(): aws.sdk.kotlin.services.cleanrooms.model.ConfiguredTableAnalysisRulePolicyV1? = (this as? ConfiguredTableAnalysisRulePolicy.V1)?.value
}