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

com.pulumi.aws.cleanrooms.kotlin.inputs.CollaborationDataEncryptionMetadataArgs.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: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.cleanrooms.kotlin.inputs

import com.pulumi.aws.cleanrooms.inputs.CollaborationDataEncryptionMetadataArgs.builder
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.Boolean
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property allowClearText
 * @property allowDuplicates
 * @property allowJoinsOnColumnsWithDifferentNames
 * @property preserveNulls
 */
public data class CollaborationDataEncryptionMetadataArgs(
    public val allowClearText: Output,
    public val allowDuplicates: Output,
    public val allowJoinsOnColumnsWithDifferentNames: Output,
    public val preserveNulls: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.cleanrooms.inputs.CollaborationDataEncryptionMetadataArgs =
        com.pulumi.aws.cleanrooms.inputs.CollaborationDataEncryptionMetadataArgs.builder()
            .allowClearText(allowClearText.applyValue({ args0 -> args0 }))
            .allowDuplicates(allowDuplicates.applyValue({ args0 -> args0 }))
            .allowJoinsOnColumnsWithDifferentNames(
                allowJoinsOnColumnsWithDifferentNames.applyValue({ args0 ->
                    args0
                }),
            )
            .preserveNulls(preserveNulls.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [CollaborationDataEncryptionMetadataArgs].
 */
@PulumiTagMarker
public class CollaborationDataEncryptionMetadataArgsBuilder internal constructor() {
    private var allowClearText: Output? = null

    private var allowDuplicates: Output? = null

    private var allowJoinsOnColumnsWithDifferentNames: Output? = null

    private var preserveNulls: Output? = null

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

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

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

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

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

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

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

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

    internal fun build(): CollaborationDataEncryptionMetadataArgs =
        CollaborationDataEncryptionMetadataArgs(
            allowClearText = allowClearText ?: throw PulumiNullFieldException("allowClearText"),
            allowDuplicates = allowDuplicates ?: throw PulumiNullFieldException("allowDuplicates"),
            allowJoinsOnColumnsWithDifferentNames = allowJoinsOnColumnsWithDifferentNames ?: throw
                PulumiNullFieldException("allowJoinsOnColumnsWithDifferentNames"),
            preserveNulls = preserveNulls ?: throw PulumiNullFieldException("preserveNulls"),
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy