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

com.pulumi.awsnative.cleanrooms.kotlin.ConfiguredTableAssociationArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.cleanrooms.kotlin

import com.pulumi.awsnative.cleanrooms.ConfiguredTableAssociationArgs.builder
import com.pulumi.awsnative.cleanrooms.kotlin.inputs.ConfiguredTableAssociationAnalysisRuleArgs
import com.pulumi.awsnative.cleanrooms.kotlin.inputs.ConfiguredTableAssociationAnalysisRuleArgsBuilder
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 * Represents a table that can be queried within a collaboration
 * @property configuredTableAssociationAnalysisRules An analysis rule for a configured table association. This analysis rule specifies how data from the table can be used within its associated collaboration. In the console, the `ConfiguredTableAssociationAnalysisRule` is referred to as the *collaboration analysis rule* .
 * @property configuredTableIdentifier A unique identifier for the configured table to be associated to. Currently accepts a configured table ID.
 * @property description A description of the configured table association.
 * @property membershipIdentifier The unique ID for the membership this configured table association belongs to.
 * @property name The name of the configured table association, in lowercase. The table is identified by this name when running protected queries against the underlying data.
 * @property roleArn The service will assume this role to access catalog metadata and query the table.
 * @property tags An arbitrary set of tags (key-value pairs) for this cleanrooms collaboration.
 */
public data class ConfiguredTableAssociationArgs(
    public val configuredTableAssociationAnalysisRules: Output>? = null,
    public val configuredTableIdentifier: Output? = null,
    public val description: Output? = null,
    public val membershipIdentifier: Output? = null,
    public val name: Output? = null,
    public val roleArn: Output? = null,
    public val tags: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.cleanrooms.ConfiguredTableAssociationArgs =
        com.pulumi.awsnative.cleanrooms.ConfiguredTableAssociationArgs.builder()
            .configuredTableAssociationAnalysisRules(
                configuredTableAssociationAnalysisRules?.applyValue({ args0 ->
                    args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) })
                }),
            )
            .configuredTableIdentifier(configuredTableIdentifier?.applyValue({ args0 -> args0 }))
            .description(description?.applyValue({ args0 -> args0 }))
            .membershipIdentifier(membershipIdentifier?.applyValue({ args0 -> args0 }))
            .name(name?.applyValue({ args0 -> args0 }))
            .roleArn(roleArn?.applyValue({ args0 -> args0 }))
            .tags(
                tags?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            ).build()
}

/**
 * Builder for [ConfiguredTableAssociationArgs].
 */
@PulumiTagMarker
public class ConfiguredTableAssociationArgsBuilder internal constructor() {
    private var configuredTableAssociationAnalysisRules:
        Output>? = null

    private var configuredTableIdentifier: Output? = null

    private var description: Output? = null

    private var membershipIdentifier: Output? = null

    private var name: Output? = null

    private var roleArn: Output? = null

    private var tags: Output>? = null

    /**
     * @param value An analysis rule for a configured table association. This analysis rule specifies how data from the table can be used within its associated collaboration. In the console, the `ConfiguredTableAssociationAnalysisRule` is referred to as the *collaboration analysis rule* .
     */
    @JvmName("ukabfeqmfipcpueq")
    public suspend fun configuredTableAssociationAnalysisRules(`value`: Output>) {
        this.configuredTableAssociationAnalysisRules = value
    }

    @JvmName("lihdtmanmedtmofx")
    public suspend fun configuredTableAssociationAnalysisRules(vararg values: Output) {
        this.configuredTableAssociationAnalysisRules = Output.all(values.asList())
    }

    /**
     * @param values An analysis rule for a configured table association. This analysis rule specifies how data from the table can be used within its associated collaboration. In the console, the `ConfiguredTableAssociationAnalysisRule` is referred to as the *collaboration analysis rule* .
     */
    @JvmName("cbgfhsfsmuawcrfq")
    public suspend fun configuredTableAssociationAnalysisRules(values: List>) {
        this.configuredTableAssociationAnalysisRules = Output.all(values)
    }

    /**
     * @param value A unique identifier for the configured table to be associated to. Currently accepts a configured table ID.
     */
    @JvmName("qncxbenxbgawtwoq")
    public suspend fun configuredTableIdentifier(`value`: Output) {
        this.configuredTableIdentifier = value
    }

    /**
     * @param value A description of the configured table association.
     */
    @JvmName("slfnwyprmxysnaak")
    public suspend fun description(`value`: Output) {
        this.description = value
    }

    /**
     * @param value The unique ID for the membership this configured table association belongs to.
     */
    @JvmName("yjqvbtptcwdburnq")
    public suspend fun membershipIdentifier(`value`: Output) {
        this.membershipIdentifier = value
    }

    /**
     * @param value The name of the configured table association, in lowercase. The table is identified by this name when running protected queries against the underlying data.
     */
    @JvmName("bagqtsxudrnuwxei")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value The service will assume this role to access catalog metadata and query the table.
     */
    @JvmName("celdqicoocleoxfq")
    public suspend fun roleArn(`value`: Output) {
        this.roleArn = value
    }

    /**
     * @param value An arbitrary set of tags (key-value pairs) for this cleanrooms collaboration.
     */
    @JvmName("iepkjwgjlrggksyt")
    public suspend fun tags(`value`: Output>) {
        this.tags = value
    }

    @JvmName("ymmranpfybjjnoir")
    public suspend fun tags(vararg values: Output) {
        this.tags = Output.all(values.asList())
    }

    /**
     * @param values An arbitrary set of tags (key-value pairs) for this cleanrooms collaboration.
     */
    @JvmName("fhnmjlfofbsvwdvp")
    public suspend fun tags(values: List>) {
        this.tags = Output.all(values)
    }

    /**
     * @param value An analysis rule for a configured table association. This analysis rule specifies how data from the table can be used within its associated collaboration. In the console, the `ConfiguredTableAssociationAnalysisRule` is referred to as the *collaboration analysis rule* .
     */
    @JvmName("ucfkkwsbblxdflqp")
    public suspend fun configuredTableAssociationAnalysisRules(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.configuredTableAssociationAnalysisRules = mapped
    }

    /**
     * @param argument An analysis rule for a configured table association. This analysis rule specifies how data from the table can be used within its associated collaboration. In the console, the `ConfiguredTableAssociationAnalysisRule` is referred to as the *collaboration analysis rule* .
     */
    @JvmName("fqdusjckpcefrgob")
    public suspend fun configuredTableAssociationAnalysisRules(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            ConfiguredTableAssociationAnalysisRuleArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.configuredTableAssociationAnalysisRules = mapped
    }

    /**
     * @param argument An analysis rule for a configured table association. This analysis rule specifies how data from the table can be used within its associated collaboration. In the console, the `ConfiguredTableAssociationAnalysisRule` is referred to as the *collaboration analysis rule* .
     */
    @JvmName("qjmctxsggyxfwgsy")
    public suspend fun configuredTableAssociationAnalysisRules(vararg argument: suspend ConfiguredTableAssociationAnalysisRuleArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            ConfiguredTableAssociationAnalysisRuleArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.configuredTableAssociationAnalysisRules = mapped
    }

    /**
     * @param argument An analysis rule for a configured table association. This analysis rule specifies how data from the table can be used within its associated collaboration. In the console, the `ConfiguredTableAssociationAnalysisRule` is referred to as the *collaboration analysis rule* .
     */
    @JvmName("nhysrmcywfawtidq")
    public suspend fun configuredTableAssociationAnalysisRules(argument: suspend ConfiguredTableAssociationAnalysisRuleArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            ConfiguredTableAssociationAnalysisRuleArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.configuredTableAssociationAnalysisRules = mapped
    }

    /**
     * @param values An analysis rule for a configured table association. This analysis rule specifies how data from the table can be used within its associated collaboration. In the console, the `ConfiguredTableAssociationAnalysisRule` is referred to as the *collaboration analysis rule* .
     */
    @JvmName("dtdtammqtqxwdowa")
    public suspend fun configuredTableAssociationAnalysisRules(vararg values: ConfiguredTableAssociationAnalysisRuleArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.configuredTableAssociationAnalysisRules = mapped
    }

    /**
     * @param value A unique identifier for the configured table to be associated to. Currently accepts a configured table ID.
     */
    @JvmName("mponcoaymwijvwtv")
    public suspend fun configuredTableIdentifier(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.configuredTableIdentifier = mapped
    }

    /**
     * @param value A description of the configured table association.
     */
    @JvmName("luwqfyhygwofohhs")
    public suspend fun description(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.description = mapped
    }

    /**
     * @param value The unique ID for the membership this configured table association belongs to.
     */
    @JvmName("yblhmycfoufitgpj")
    public suspend fun membershipIdentifier(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.membershipIdentifier = mapped
    }

    /**
     * @param value The name of the configured table association, in lowercase. The table is identified by this name when running protected queries against the underlying data.
     */
    @JvmName("dculvappiynqdsah")
    public suspend fun name(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value The service will assume this role to access catalog metadata and query the table.
     */
    @JvmName("hhvxrytkqfmoxcxe")
    public suspend fun roleArn(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.roleArn = mapped
    }

    /**
     * @param value An arbitrary set of tags (key-value pairs) for this cleanrooms collaboration.
     */
    @JvmName("rudnqvwboosxhntm")
    public suspend fun tags(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    /**
     * @param argument An arbitrary set of tags (key-value pairs) for this cleanrooms collaboration.
     */
    @JvmName("yotrunpucasjesrl")
    public suspend fun tags(argument: List Unit>) {
        val toBeMapped = argument.toList().map { TagArgsBuilder().applySuspend { it() }.build() }
        val mapped = of(toBeMapped)
        this.tags = mapped
    }

    /**
     * @param argument An arbitrary set of tags (key-value pairs) for this cleanrooms collaboration.
     */
    @JvmName("lfxhpupamsgbxsjl")
    public suspend fun tags(vararg argument: suspend TagArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map { TagArgsBuilder().applySuspend { it() }.build() }
        val mapped = of(toBeMapped)
        this.tags = mapped
    }

    /**
     * @param argument An arbitrary set of tags (key-value pairs) for this cleanrooms collaboration.
     */
    @JvmName("iwygwyyiijgidcjf")
    public suspend fun tags(argument: suspend TagArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(TagArgsBuilder().applySuspend { argument() }.build())
        val mapped = of(toBeMapped)
        this.tags = mapped
    }

    /**
     * @param values An arbitrary set of tags (key-value pairs) for this cleanrooms collaboration.
     */
    @JvmName("qdhacbgmoypggtqg")
    public suspend fun tags(vararg values: TagArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    internal fun build(): ConfiguredTableAssociationArgs = ConfiguredTableAssociationArgs(
        configuredTableAssociationAnalysisRules = configuredTableAssociationAnalysisRules,
        configuredTableIdentifier = configuredTableIdentifier,
        description = description,
        membershipIdentifier = membershipIdentifier,
        name = name,
        roleArn = roleArn,
        tags = tags,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy