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

com.pulumi.awsnative.lightsail.kotlin.inputs.ContainerPublicDomainNameArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.lightsail.kotlin.inputs

import com.pulumi.awsnative.lightsail.inputs.ContainerPublicDomainNameArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 * The public domain name to use with the container service, such as example.com and www.example.com.
 * @property certificateName The name of the certificate for the public domains.
 * @property domainNames An object that describes the configuration for the containers of the deployment.
 */
public data class ContainerPublicDomainNameArgs(
    public val certificateName: Output? = null,
    public val domainNames: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.lightsail.inputs.ContainerPublicDomainNameArgs =
        com.pulumi.awsnative.lightsail.inputs.ContainerPublicDomainNameArgs.builder()
            .certificateName(certificateName?.applyValue({ args0 -> args0 }))
            .domainNames(domainNames?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

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

    private var domainNames: Output>? = null

    /**
     * @param value The name of the certificate for the public domains.
     */
    @JvmName("noqqieydpqowgkrr")
    public suspend fun certificateName(`value`: Output) {
        this.certificateName = value
    }

    /**
     * @param value An object that describes the configuration for the containers of the deployment.
     */
    @JvmName("pnopcbagtjtbfutf")
    public suspend fun domainNames(`value`: Output>) {
        this.domainNames = value
    }

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

    /**
     * @param values An object that describes the configuration for the containers of the deployment.
     */
    @JvmName("dravlacmjbgnwgwb")
    public suspend fun domainNames(values: List>) {
        this.domainNames = Output.all(values)
    }

    /**
     * @param value The name of the certificate for the public domains.
     */
    @JvmName("lwilxorrrsfqyqdd")
    public suspend fun certificateName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.certificateName = mapped
    }

    /**
     * @param value An object that describes the configuration for the containers of the deployment.
     */
    @JvmName("mkcjhcjrrbhtaojd")
    public suspend fun domainNames(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.domainNames = mapped
    }

    /**
     * @param values An object that describes the configuration for the containers of the deployment.
     */
    @JvmName("txwlopauqpvtvjyg")
    public suspend fun domainNames(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.domainNames = mapped
    }

    internal fun build(): ContainerPublicDomainNameArgs = ContainerPublicDomainNameArgs(
        certificateName = certificateName,
        domainNames = domainNames,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy