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

com.pulumi.gcp.apigee.kotlin.inputs.KeystoresAliasesKeyCertFileCertsInfoArgs.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: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.apigee.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.apigee.inputs.KeystoresAliasesKeyCertFileCertsInfoArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property certInfos (Output)
 * List of all properties in the object.
 * Structure is documented below.
 */
public data class KeystoresAliasesKeyCertFileCertsInfoArgs(
    public val certInfos: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.apigee.inputs.KeystoresAliasesKeyCertFileCertsInfoArgs =
        com.pulumi.gcp.apigee.inputs.KeystoresAliasesKeyCertFileCertsInfoArgs.builder()
            .certInfos(
                certInfos?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            ).build()
}

/**
 * Builder for [KeystoresAliasesKeyCertFileCertsInfoArgs].
 */
@PulumiTagMarker
public class KeystoresAliasesKeyCertFileCertsInfoArgsBuilder internal constructor() {
    private var certInfos: Output>? = null

    /**
     * @param value (Output)
     * List of all properties in the object.
     * Structure is documented below.
     */
    @JvmName("qixnkbupnputaqfe")
    public suspend fun certInfos(`value`: Output>) {
        this.certInfos = value
    }

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

    /**
     * @param values (Output)
     * List of all properties in the object.
     * Structure is documented below.
     */
    @JvmName("uqyqdjtvqlrnmaya")
    public suspend fun certInfos(values: List>) {
        this.certInfos = Output.all(values)
    }

    /**
     * @param value (Output)
     * List of all properties in the object.
     * Structure is documented below.
     */
    @JvmName("exmpefkjkkfcfuuh")
    public suspend fun certInfos(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.certInfos = mapped
    }

    /**
     * @param argument (Output)
     * List of all properties in the object.
     * Structure is documented below.
     */
    @JvmName("vdtbfvwgwkcemegv")
    public suspend fun certInfos(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            KeystoresAliasesKeyCertFileCertsInfoCertInfoArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.certInfos = mapped
    }

    /**
     * @param argument (Output)
     * List of all properties in the object.
     * Structure is documented below.
     */
    @JvmName("wfykxdspssojqyuc")
    public suspend fun certInfos(vararg argument: suspend KeystoresAliasesKeyCertFileCertsInfoCertInfoArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            KeystoresAliasesKeyCertFileCertsInfoCertInfoArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.certInfos = mapped
    }

    /**
     * @param argument (Output)
     * List of all properties in the object.
     * Structure is documented below.
     */
    @JvmName("vevxlvcbtbgrwqpt")
    public suspend fun certInfos(argument: suspend KeystoresAliasesKeyCertFileCertsInfoCertInfoArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            KeystoresAliasesKeyCertFileCertsInfoCertInfoArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.certInfos = mapped
    }

    /**
     * @param values (Output)
     * List of all properties in the object.
     * Structure is documented below.
     */
    @JvmName("xamxabgtmdeymdbo")
    public suspend fun certInfos(vararg values: KeystoresAliasesKeyCertFileCertsInfoCertInfoArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.certInfos = mapped
    }

    internal fun build(): KeystoresAliasesKeyCertFileCertsInfoArgs =
        KeystoresAliasesKeyCertFileCertsInfoArgs(
            certInfos = certInfos,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy