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

com.pulumi.alicloud.dcdn.kotlin.inputs.ErEnvConfPresetCanaryYunnanArgs.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: 3.62.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.alicloud.dcdn.kotlin.inputs

import com.pulumi.alicloud.dcdn.inputs.ErEnvConfPresetCanaryYunnanArgs.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

/**
 *
 * @property allowedHosts Allowed DCDN domain names.
 * @property codeRev The version number of the code.
 * @property specName The specification of the CPU time slice. Valid values: `5ms`, `50ms`, `100ms`.
 */
public data class ErEnvConfPresetCanaryYunnanArgs(
    public val allowedHosts: Output>? = null,
    public val codeRev: Output? = null,
    public val specName: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.alicloud.dcdn.inputs.ErEnvConfPresetCanaryYunnanArgs =
        com.pulumi.alicloud.dcdn.inputs.ErEnvConfPresetCanaryYunnanArgs.builder()
            .allowedHosts(allowedHosts?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .codeRev(codeRev?.applyValue({ args0 -> args0 }))
            .specName(specName?.applyValue({ args0 -> args0 })).build()
}

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

    private var codeRev: Output? = null

    private var specName: Output? = null

    /**
     * @param value Allowed DCDN domain names.
     */
    @JvmName("pkgixghrbbwnmopq")
    public suspend fun allowedHosts(`value`: Output>) {
        this.allowedHosts = value
    }

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

    /**
     * @param values Allowed DCDN domain names.
     */
    @JvmName("ohwqnyhgtdtwbbhp")
    public suspend fun allowedHosts(values: List>) {
        this.allowedHosts = Output.all(values)
    }

    /**
     * @param value The version number of the code.
     */
    @JvmName("clrqrwsaclgpbqbf")
    public suspend fun codeRev(`value`: Output) {
        this.codeRev = value
    }

    /**
     * @param value The specification of the CPU time slice. Valid values: `5ms`, `50ms`, `100ms`.
     */
    @JvmName("iryuhrohbvycblpl")
    public suspend fun specName(`value`: Output) {
        this.specName = value
    }

    /**
     * @param value Allowed DCDN domain names.
     */
    @JvmName("nqbourdcolwckomb")
    public suspend fun allowedHosts(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.allowedHosts = mapped
    }

    /**
     * @param values Allowed DCDN domain names.
     */
    @JvmName("ensmjnpajuynjumu")
    public suspend fun allowedHosts(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.allowedHosts = mapped
    }

    /**
     * @param value The version number of the code.
     */
    @JvmName("fnpyrobhwhwtrwaf")
    public suspend fun codeRev(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.codeRev = mapped
    }

    /**
     * @param value The specification of the CPU time slice. Valid values: `5ms`, `50ms`, `100ms`.
     */
    @JvmName("qdvcvpftfccivpjf")
    public suspend fun specName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.specName = mapped
    }

    internal fun build(): ErEnvConfPresetCanaryYunnanArgs = ErEnvConfPresetCanaryYunnanArgs(
        allowedHosts = allowedHosts,
        codeRev = codeRev,
        specName = specName,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy