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

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

@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("ehejyceytqfnywvu")
    public suspend fun analysisParameters(`value`: Output>) {
        this.analysisParameters = value
    }

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

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

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

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

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

    /**
     * @param value The source of the analysis template.
     */
    @JvmName("pfcqaiujbcioxyhg")
    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("jtnnlaswhsguxfhn")
    public suspend fun tags(`value`: Output>) {
        this.tags = value
    }

    @JvmName("ctsnlibmiextrrot")
    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("bcxlldipgkeveynm")
    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("iyqqsmfqxbusukko")
    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("ugtwisrurjqsepqo")
    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("husdxxdpunndoicx")
    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("pfikrxuarhcbicug")
    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("fxwxvqrvmyfqdqtq")
    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("mwysuepotbuhakgo")
    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("kdeykfdjpuccurnr")
    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("wyofmcuxhrtcxjql")
    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("wshqhauslimtwfga")
    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("qajtqqfqyspwqdvn")
    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("prgywoatwsxyxboy")
    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("gftgdiikwblbculd")
    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("ddamagtbrxobiyln")
    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("wpwuclxvubgitrwy")
    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("ffehteavhpwrmulp")
    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("woiwhskcomomqnyk")
    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