All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.cleanrooms.kotlin.inputs.ConfiguredTableAggregationConstraintArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.cleanrooms.kotlin.inputs

import com.pulumi.awsnative.cleanrooms.inputs.ConfiguredTableAggregationConstraintArgs.builder
import com.pulumi.awsnative.cleanrooms.kotlin.enums.ConfiguredTableAggregationType
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 kotlin.Double
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property columnName
 * @property minimum
 * @property type
 */
public data class ConfiguredTableAggregationConstraintArgs(
    public val columnName: Output,
    public val minimum: Output,
    public val type: Output,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.cleanrooms.inputs.ConfiguredTableAggregationConstraintArgs =
        com.pulumi.awsnative.cleanrooms.inputs.ConfiguredTableAggregationConstraintArgs.builder()
            .columnName(columnName.applyValue({ args0 -> args0 }))
            .minimum(minimum.applyValue({ args0 -> args0 }))
            .type(type.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [ConfiguredTableAggregationConstraintArgs].
 */
@PulumiTagMarker
public class ConfiguredTableAggregationConstraintArgsBuilder internal constructor() {
    private var columnName: Output? = null

    private var minimum: Output? = null

    private var type: Output? = null

    /**
     * @param value
     */
    @JvmName("elsfwcyypwoarjft")
    public suspend fun columnName(`value`: Output) {
        this.columnName = value
    }

    /**
     * @param value
     */
    @JvmName("qahenjqvhypxxfsn")
    public suspend fun minimum(`value`: Output) {
        this.minimum = value
    }

    /**
     * @param value
     */
    @JvmName("apwnahikmogxkboq")
    public suspend fun type(`value`: Output) {
        this.type = value
    }

    /**
     * @param value
     */
    @JvmName("sgormcheodtnppfr")
    public suspend fun columnName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.columnName = mapped
    }

    /**
     * @param value
     */
    @JvmName("aulygvomyjnwddei")
    public suspend fun minimum(`value`: Double) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.minimum = mapped
    }

    /**
     * @param value
     */
    @JvmName("ekynflkjmatsdrkx")
    public suspend fun type(`value`: ConfiguredTableAggregationType) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.type = mapped
    }

    internal fun build(): ConfiguredTableAggregationConstraintArgs =
        ConfiguredTableAggregationConstraintArgs(
            columnName = columnName ?: throw PulumiNullFieldException("columnName"),
            minimum = minimum ?: throw PulumiNullFieldException("minimum"),
            type = type ?: throw PulumiNullFieldException("type"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy