com.pulumi.awsnative.cleanrooms.kotlin.inputs.ConfiguredTableAnalysisRulePolicyV11PropertiesArgs.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.inputs
import com.pulumi.awsnative.cleanrooms.inputs.ConfiguredTableAnalysisRulePolicyV11PropertiesArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property aggregation
*/
public data class ConfiguredTableAnalysisRulePolicyV11PropertiesArgs(
public val aggregation: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.cleanrooms.inputs.ConfiguredTableAnalysisRulePolicyV11PropertiesArgs =
com.pulumi.awsnative.cleanrooms.inputs.ConfiguredTableAnalysisRulePolicyV11PropertiesArgs.builder()
.aggregation(aggregation.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [ConfiguredTableAnalysisRulePolicyV11PropertiesArgs].
*/
@PulumiTagMarker
public class ConfiguredTableAnalysisRulePolicyV11PropertiesArgsBuilder internal constructor() {
private var aggregation: Output? = null
/**
* @param value
*/
@JvmName("bwcjlvodwyignkkd")
public suspend fun aggregation(`value`: Output) {
this.aggregation = value
}
/**
* @param value
*/
@JvmName("ykvkvubnrtnttvvv")
public suspend fun aggregation(`value`: ConfiguredTableAnalysisRuleAggregationArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.aggregation = mapped
}
/**
* @param argument
*/
@JvmName("ubnvqwxyoosavaah")
public suspend fun aggregation(argument: suspend ConfiguredTableAnalysisRuleAggregationArgsBuilder.() -> Unit) {
val toBeMapped = ConfiguredTableAnalysisRuleAggregationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.aggregation = mapped
}
internal fun build(): ConfiguredTableAnalysisRulePolicyV11PropertiesArgs =
ConfiguredTableAnalysisRulePolicyV11PropertiesArgs(
aggregation = aggregation ?: throw PulumiNullFieldException("aggregation"),
)
}