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

com.pulumi.alicloud.maxcompute.kotlin.inputs.ProjectPropertiesEncryptionArgs.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: 3.62.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.alicloud.maxcompute.kotlin.inputs

import com.pulumi.alicloud.maxcompute.inputs.ProjectPropertiesEncryptionArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property algorithm The encryption algorithm supported by the key, including AES256, AESCTR, and RC4.
 * @property enable Only enable function is supported. Value: (true).
 * @property key The encryption algorithm Key, the Key type used by the project, including the Default Key (MaxCompute Default Key) and the self-contained Key (BYOK). The MaxCompute Default Key is the Default Key created inside MaxCompute.
 */
public data class ProjectPropertiesEncryptionArgs(
    public val algorithm: Output? = null,
    public val enable: Output? = null,
    public val key: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.alicloud.maxcompute.inputs.ProjectPropertiesEncryptionArgs =
        com.pulumi.alicloud.maxcompute.inputs.ProjectPropertiesEncryptionArgs.builder()
            .algorithm(algorithm?.applyValue({ args0 -> args0 }))
            .enable(enable?.applyValue({ args0 -> args0 }))
            .key(key?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ProjectPropertiesEncryptionArgs].
 */
@PulumiTagMarker
public class ProjectPropertiesEncryptionArgsBuilder internal constructor() {
    private var algorithm: Output? = null

    private var enable: Output? = null

    private var key: Output? = null

    /**
     * @param value The encryption algorithm supported by the key, including AES256, AESCTR, and RC4.
     */
    @JvmName("nxqlmppqwbtamlil")
    public suspend fun algorithm(`value`: Output) {
        this.algorithm = value
    }

    /**
     * @param value Only enable function is supported. Value: (true).
     */
    @JvmName("nnilhnlymvymhhjw")
    public suspend fun enable(`value`: Output) {
        this.enable = value
    }

    /**
     * @param value The encryption algorithm Key, the Key type used by the project, including the Default Key (MaxCompute Default Key) and the self-contained Key (BYOK). The MaxCompute Default Key is the Default Key created inside MaxCompute.
     */
    @JvmName("asqlvdsgnemotrns")
    public suspend fun key(`value`: Output) {
        this.key = value
    }

    /**
     * @param value The encryption algorithm supported by the key, including AES256, AESCTR, and RC4.
     */
    @JvmName("gjvvxbnpyfjbhtuf")
    public suspend fun algorithm(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.algorithm = mapped
    }

    /**
     * @param value Only enable function is supported. Value: (true).
     */
    @JvmName("hbqhomeeromtssen")
    public suspend fun enable(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.enable = mapped
    }

    /**
     * @param value The encryption algorithm Key, the Key type used by the project, including the Default Key (MaxCompute Default Key) and the self-contained Key (BYOK). The MaxCompute Default Key is the Default Key created inside MaxCompute.
     */
    @JvmName("odouqloypfbpgfrt")
    public suspend fun key(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.key = mapped
    }

    internal fun build(): ProjectPropertiesEncryptionArgs = ProjectPropertiesEncryptionArgs(
        algorithm = algorithm,
        enable = enable,
        key = key,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy