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

com.pulumi.awsnative.cleanrooms.kotlin.AnalysisTemplateArgs.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.AnalysisTemplateArgs.builder
import com.pulumi.awsnative.cleanrooms.kotlin.enums.AnalysisTemplateFormat
import com.pulumi.awsnative.cleanrooms.kotlin.inputs.AnalysisTemplateAnalysisParameterArgs
import com.pulumi.awsnative.cleanrooms.kotlin.inputs.AnalysisTemplateAnalysisParameterArgsBuilder
import com.pulumi.awsnative.cleanrooms.kotlin.inputs.AnalysisTemplateAnalysisSourceArgs
import com.pulumi.awsnative.cleanrooms.kotlin.inputs.AnalysisTemplateAnalysisSourceArgsBuilder
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 stored analysis within a collaboration
 * @property analysisParameters The member who can query can provide this placeholder for a literal data value in an analysis template
 * @property description The description of the analysis template.
 * @property format The format of the analysis template.
 * @property membershipIdentifier The identifier for a membership resource.
 * @property name The name of the analysis template.
 * @property source The source of the analysis template.
 * @property tags An arbitrary set of tags (key-value pairs) for this cleanrooms analysis template.
 */
public data class AnalysisTemplateArgs(
    public val analysisParameters: Output>? = null,
    public val description: Output? = null,
    public val format: Output? = null,
    public val membershipIdentifier: Output? = null,
    public val name: Output? = null,
    public val source: Output? = null,
    public val tags: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.cleanrooms.AnalysisTemplateArgs =
        com.pulumi.awsnative.cleanrooms.AnalysisTemplateArgs.builder()
            .analysisParameters(
                analysisParameters?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 -> args0.toJava() })
                    })
                }),
            )
            .description(description?.applyValue({ args0 -> args0 }))
            .format(format?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .membershipIdentifier(membershipIdentifier?.applyValue({ args0 -> args0 }))
            .name(name?.applyValue({ args0 -> args0 }))
            .source(source?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .tags(
                tags?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            ).build()
}

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

    private var description: Output? = null

    private var format: Output? = null

    private var membershipIdentifier: Output? = null

    private var name: Output? = null

    private var source: Output? = null

    private var tags: Output>? = null

    /**
     * @param value The member who can query can provide this placeholder for a literal data value in an analysis template
     */
    @JvmName("aohockaxjouavxgf")
    public suspend fun analysisParameters(`value`: Output>) {
        this.analysisParameters = value
    }

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

    /**
     * @param values The member who can query can provide this placeholder for a literal data value in an analysis template
     */
    @JvmName("jfecwojmkctyuxgq")
    public suspend fun analysisParameters(values: List>) {
        this.analysisParameters = Output.all(values)
    }

    /**
     * @param value The description of the analysis template.
     */
    @JvmName("mgneyouxxutineqm")
    public suspend fun description(`value`: Output) {
        this.description = value
    }

    /**
     * @param value The format of the analysis template.
     */
    @JvmName("smwqrgtuaenxxvcj")
    public suspend fun format(`value`: Output) {
        this.format = value
    }

    /**
     * @param value The identifier for a membership resource.
     */
    @JvmName("wfjdpiigcwgcatsa")
    public suspend fun membershipIdentifier(`value`: Output) {
        this.membershipIdentifier = value
    }

    /**
     * @param value The name of the analysis template.
     */
    @JvmName("odagjbjncfyobcjf")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value The source of the analysis template.
     */
    @JvmName("mjomuqrrislftqfi")
    public suspend fun source(`value`: Output) {
        this.source = value
    }

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

    @JvmName("cvfcnapvnqciclxx")
    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 analysis template.
     */
    @JvmName("rgvavuuuqngwshdx")
    public suspend fun tags(values: List>) {
        this.tags = Output.all(values)
    }

    /**
     * @param value The member who can query can provide this placeholder for a literal data value in an analysis template
     */
    @JvmName("wiaflxpelvieapwj")
    public suspend fun analysisParameters(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.analysisParameters = mapped
    }

    /**
     * @param argument The member who can query can provide this placeholder for a literal data value in an analysis template
     */
    @JvmName("bauctbkwsjkbdjkh")
    public suspend fun analysisParameters(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            AnalysisTemplateAnalysisParameterArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.analysisParameters = mapped
    }

    /**
     * @param argument The member who can query can provide this placeholder for a literal data value in an analysis template
     */
    @JvmName("axnyjbqjepfaufil")
    public suspend fun analysisParameters(vararg argument: suspend AnalysisTemplateAnalysisParameterArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            AnalysisTemplateAnalysisParameterArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.analysisParameters = mapped
    }

    /**
     * @param argument The member who can query can provide this placeholder for a literal data value in an analysis template
     */
    @JvmName("axlbnerthfkvkpuh")
    public suspend fun analysisParameters(argument: suspend AnalysisTemplateAnalysisParameterArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            AnalysisTemplateAnalysisParameterArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.analysisParameters = mapped
    }

    /**
     * @param values The member who can query can provide this placeholder for a literal data value in an analysis template
     */
    @JvmName("fcmqdvjkcoitefta")
    public suspend fun analysisParameters(vararg values: AnalysisTemplateAnalysisParameterArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.analysisParameters = mapped
    }

    /**
     * @param value The description of the analysis template.
     */
    @JvmName("odrhgkkfulqvpdwa")
    public suspend fun description(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.description = mapped
    }

    /**
     * @param value The format of the analysis template.
     */
    @JvmName("unihytevlgyifskv")
    public suspend fun format(`value`: AnalysisTemplateFormat?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.format = mapped
    }

    /**
     * @param value The identifier for a membership resource.
     */
    @JvmName("tlxpnibxatbexwgc")
    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 analysis template.
     */
    @JvmName("firjvadexfewqoju")
    public suspend fun name(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value The source of the analysis template.
     */
    @JvmName("fggacvuiyqusjdjm")
    public suspend fun source(`value`: AnalysisTemplateAnalysisSourceArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.source = mapped
    }

    /**
     * @param argument The source of the analysis template.
     */
    @JvmName("vvtcoorwvxcdhfkw")
    public suspend fun source(argument: suspend AnalysisTemplateAnalysisSourceArgsBuilder.() -> Unit) {
        val toBeMapped = AnalysisTemplateAnalysisSourceArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.source = mapped
    }

    /**
     * @param value An arbitrary set of tags (key-value pairs) for this cleanrooms analysis template.
     */
    @JvmName("dagdiiqcwpstotgs")
    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 analysis template.
     */
    @JvmName("robaqmnhxechfmdb")
    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 analysis template.
     */
    @JvmName("jhblidpkyjqdljnq")
    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 analysis template.
     */
    @JvmName("schdsimfeibjpmnb")
    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 analysis template.
     */
    @JvmName("jovjbskbuyvpynwd")
    public suspend fun tags(vararg values: TagArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    internal fun build(): AnalysisTemplateArgs = AnalysisTemplateArgs(
        analysisParameters = analysisParameters,
        description = description,
        format = format,
        membershipIdentifier = membershipIdentifier,
        name = name,
        source = source,
        tags = tags,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy