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

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

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.cleanrooms.kotlin

import com.pulumi.awsnative.cleanrooms.ConfiguredTableAssociationArgs.builder
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 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 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()
            .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 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 A unique identifier for the configured table to be associated to. Currently accepts a configured table ID.
     */
    @JvmName("ujnvdcjwvxxutpjl")
    public suspend fun configuredTableIdentifier(`value`: Output) {
        this.configuredTableIdentifier = value
    }

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

    /**
     * @param value The unique ID for the membership this configured table association belongs to.
     */
    @JvmName("dswpmjmklulfrmdg")
    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("doiarpnwwwgljefj")
    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("ublblxdecvogjpns")
    public suspend fun roleArn(`value`: Output) {
        this.roleArn = value
    }

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

    @JvmName("camrnpxndpqyrcwt")
    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("rikgrsoppluuuawg")
    public suspend fun tags(values: List>) {
        this.tags = Output.all(values)
    }

    /**
     * @param value A unique identifier for the configured table to be associated to. Currently accepts a configured table ID.
     */
    @JvmName("wwctrirkirlkdiyh")
    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("vaoftdsphjmcquhg")
    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("djdjjoulmdksrmwa")
    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("lhwaammwqghaxngx")
    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("klhifjvttrxxqwdy")
    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("dungytdhmqowirpy")
    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("ccaemkcgsbxyslxq")
    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("hvlgonpxtallhsmk")
    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("aumkfmjhgyhmbews")
    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("lhafesnfpncnared")
    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(
        configuredTableIdentifier = configuredTableIdentifier,
        description = description,
        membershipIdentifier = membershipIdentifier,
        name = name,
        roleArn = roleArn,
        tags = tags,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy