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

com.pulumi.azurenative.confidentialledger.kotlin.inputs.MemberIdentityCertificateArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azurenative.confidentialledger.kotlin.inputs

import com.pulumi.azurenative.confidentialledger.inputs.MemberIdentityCertificateArgs.builder
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

/**
 * Object representing MemberIdentityCertificate for Managed CCF.
 * @property certificate Member Identity Certificate
 * @property encryptionkey Member Identity Certificate Encryption Key
 * @property tags
 */
public data class MemberIdentityCertificateArgs(
    public val certificate: Output? = null,
    public val encryptionkey: Output? = null,
    public val tags: Output>? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.confidentialledger.inputs.MemberIdentityCertificateArgs =
        com.pulumi.azurenative.confidentialledger.inputs.MemberIdentityCertificateArgs.builder()
            .certificate(certificate?.applyValue({ args0 -> args0 }))
            .encryptionkey(encryptionkey?.applyValue({ args0 -> args0 }))
            .tags(
                tags?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            ).build()
}

/**
 * Builder for [MemberIdentityCertificateArgs].
 */
@PulumiTagMarker
public class MemberIdentityCertificateArgsBuilder internal constructor() {
    private var certificate: Output? = null

    private var encryptionkey: Output? = null

    private var tags: Output>? = null

    /**
     * @param value Member Identity Certificate
     */
    @JvmName("ucpfceiigwkkcdbb")
    public suspend fun certificate(`value`: Output) {
        this.certificate = value
    }

    /**
     * @param value Member Identity Certificate Encryption Key
     */
    @JvmName("kbfcbxjousqhwihk")
    public suspend fun encryptionkey(`value`: Output) {
        this.encryptionkey = value
    }

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

    @JvmName("pcxasmnhdjipgibb")
    public suspend fun tags(vararg values: Output) {
        this.tags = Output.all(values.asList())
    }

    /**
     * @param values
     */
    @JvmName("drlndtbyfwdmqvhb")
    public suspend fun tags(values: List>) {
        this.tags = Output.all(values)
    }

    /**
     * @param value Member Identity Certificate
     */
    @JvmName("dfrgcdcknlrabfme")
    public suspend fun certificate(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.certificate = mapped
    }

    /**
     * @param value Member Identity Certificate Encryption Key
     */
    @JvmName("idvxapugahfhfrqq")
    public suspend fun encryptionkey(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.encryptionkey = mapped
    }

    /**
     * @param value
     */
    @JvmName("ptrmqeoiascdxhid")
    public suspend fun tags(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    /**
     * @param argument
     */
    @JvmName("gogwhttukcwsdgxa")
    public suspend fun tags(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            CertificateTagsArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.tags = mapped
    }

    /**
     * @param argument
     */
    @JvmName("qrmihlpofgtmecot")
    public suspend fun tags(vararg argument: suspend CertificateTagsArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            CertificateTagsArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.tags = mapped
    }

    /**
     * @param argument
     */
    @JvmName("tvbgvvybetwltlxu")
    public suspend fun tags(argument: suspend CertificateTagsArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(CertificateTagsArgsBuilder().applySuspend { argument() }.build())
        val mapped = of(toBeMapped)
        this.tags = mapped
    }

    /**
     * @param values
     */
    @JvmName("wcdmuhsunsyncxdu")
    public suspend fun tags(vararg values: CertificateTagsArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    internal fun build(): MemberIdentityCertificateArgs = MemberIdentityCertificateArgs(
        certificate = certificate,
        encryptionkey = encryptionkey,
        tags = tags,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy