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

com.pulumi.azurenative.datamigration.kotlin.inputs.SelectedCertificateInputArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azurenative.datamigration.kotlin.inputs

import com.pulumi.azurenative.datamigration.inputs.SelectedCertificateInputArgs.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.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * Info for certificate to be exported for TDE enabled databases.
 * @property certificateName Name of certificate to be exported.
 * @property password Password to use for encrypting the exported certificate.
 */
public data class SelectedCertificateInputArgs(
    public val certificateName: Output,
    public val password: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.datamigration.inputs.SelectedCertificateInputArgs =
        com.pulumi.azurenative.datamigration.inputs.SelectedCertificateInputArgs.builder()
            .certificateName(certificateName.applyValue({ args0 -> args0 }))
            .password(password.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [SelectedCertificateInputArgs].
 */
@PulumiTagMarker
public class SelectedCertificateInputArgsBuilder internal constructor() {
    private var certificateName: Output? = null

    private var password: Output? = null

    /**
     * @param value Name of certificate to be exported.
     */
    @JvmName("dgjsrcumtkxxslql")
    public suspend fun certificateName(`value`: Output) {
        this.certificateName = value
    }

    /**
     * @param value Password to use for encrypting the exported certificate.
     */
    @JvmName("icdyhfwwusjihksx")
    public suspend fun password(`value`: Output) {
        this.password = value
    }

    /**
     * @param value Name of certificate to be exported.
     */
    @JvmName("ftgorvwmpmpcntpx")
    public suspend fun certificateName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.certificateName = mapped
    }

    /**
     * @param value Password to use for encrypting the exported certificate.
     */
    @JvmName("yrppykgbnbbftioo")
    public suspend fun password(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.password = mapped
    }

    internal fun build(): SelectedCertificateInputArgs = SelectedCertificateInputArgs(
        certificateName = certificateName ?: throw PulumiNullFieldException("certificateName"),
        password = password ?: throw PulumiNullFieldException("password"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy