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

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

package com.pulumi.gcp.compute.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.compute.inputs.MangedSslCertificateManagedArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property domains Domains for which a managed SSL certificate will be valid.  Currently,
 * there can be up to 100 domains in this list.
 */
public data class MangedSslCertificateManagedArgs(
    public val domains: Output>,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.compute.inputs.MangedSslCertificateManagedArgs =
        com.pulumi.gcp.compute.inputs.MangedSslCertificateManagedArgs.builder()
            .domains(domains.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

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

    /**
     * @param value Domains for which a managed SSL certificate will be valid.  Currently,
     * there can be up to 100 domains in this list.
     */
    @JvmName("qsqiiwccfnliqdhc")
    public suspend fun domains(`value`: Output>) {
        this.domains = value
    }

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

    /**
     * @param values Domains for which a managed SSL certificate will be valid.  Currently,
     * there can be up to 100 domains in this list.
     */
    @JvmName("prksesvfgxcyjjmg")
    public suspend fun domains(values: List>) {
        this.domains = Output.all(values)
    }

    /**
     * @param value Domains for which a managed SSL certificate will be valid.  Currently,
     * there can be up to 100 domains in this list.
     */
    @JvmName("hepgdsbqpjyunmrg")
    public suspend fun domains(`value`: List) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.domains = mapped
    }

    /**
     * @param values Domains for which a managed SSL certificate will be valid.  Currently,
     * there can be up to 100 domains in this list.
     */
    @JvmName("vqmlfulyhxwytnry")
    public suspend fun domains(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.domains = mapped
    }

    internal fun build(): MangedSslCertificateManagedArgs = MangedSslCertificateManagedArgs(
        domains = domains ?: throw PulumiNullFieldException("domains"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy