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

com.pulumi.awsnative.cleanrooms.kotlin.inputs.CollaborationDataEncryptionMetadataArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.cleanrooms.kotlin.inputs

import com.pulumi.awsnative.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 Indicates whether encrypted tables can contain cleartext data ( `TRUE` ) or are to cryptographically process every column ( `FALSE` ).
 * @property allowDuplicates Indicates whether Fingerprint columns can contain duplicate entries ( `TRUE` ) or are to contain only non-repeated values ( `FALSE` ).
 * @property allowJoinsOnColumnsWithDifferentNames Indicates whether Fingerprint columns can be joined on any other Fingerprint column with a different name ( `TRUE` ) or can only be joined on Fingerprint columns of the same name ( `FALSE` ).
 * @property preserveNulls Indicates whether NULL values are to be copied as NULL to encrypted tables ( `TRUE` ) or cryptographically processed ( `FALSE` ).
 */
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.awsnative.cleanrooms.inputs.CollaborationDataEncryptionMetadataArgs =
        com.pulumi.awsnative.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 Indicates whether encrypted tables can contain cleartext data ( `TRUE` ) or are to cryptographically process every column ( `FALSE` ).
     */
    @JvmName("umvqqacfjmayatud")
    public suspend fun allowCleartext(`value`: Output) {
        this.allowCleartext = value
    }

    /**
     * @param value Indicates whether Fingerprint columns can contain duplicate entries ( `TRUE` ) or are to contain only non-repeated values ( `FALSE` ).
     */
    @JvmName("wiowdwhhluxnwbpr")
    public suspend fun allowDuplicates(`value`: Output) {
        this.allowDuplicates = value
    }

    /**
     * @param value Indicates whether Fingerprint columns can be joined on any other Fingerprint column with a different name ( `TRUE` ) or can only be joined on Fingerprint columns of the same name ( `FALSE` ).
     */
    @JvmName("goiusnaqsykvijqk")
    public suspend fun allowJoinsOnColumnsWithDifferentNames(`value`: Output) {
        this.allowJoinsOnColumnsWithDifferentNames = value
    }

    /**
     * @param value Indicates whether NULL values are to be copied as NULL to encrypted tables ( `TRUE` ) or cryptographically processed ( `FALSE` ).
     */
    @JvmName("mewavmejawbvlpao")
    public suspend fun preserveNulls(`value`: Output) {
        this.preserveNulls = value
    }

    /**
     * @param value Indicates whether encrypted tables can contain cleartext data ( `TRUE` ) or are to cryptographically process every column ( `FALSE` ).
     */
    @JvmName("engngqgpkvjgwmlu")
    public suspend fun allowCleartext(`value`: Boolean) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.allowCleartext = mapped
    }

    /**
     * @param value Indicates whether Fingerprint columns can contain duplicate entries ( `TRUE` ) or are to contain only non-repeated values ( `FALSE` ).
     */
    @JvmName("akokudjmtlwmtnme")
    public suspend fun allowDuplicates(`value`: Boolean) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.allowDuplicates = mapped
    }

    /**
     * @param value Indicates whether Fingerprint columns can be joined on any other Fingerprint column with a different name ( `TRUE` ) or can only be joined on Fingerprint columns of the same name ( `FALSE` ).
     */
    @JvmName("oflkibhcnhknjofy")
    public suspend fun allowJoinsOnColumnsWithDifferentNames(`value`: Boolean) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.allowJoinsOnColumnsWithDifferentNames = mapped
    }

    /**
     * @param value Indicates whether NULL values are to be copied as NULL to encrypted tables ( `TRUE` ) or cryptographically processed ( `FALSE` ).
     */
    @JvmName("lmslhfwybfnfsduw")
    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 - 2025 Weber Informatics LLC | Privacy Policy