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

com.pulumi.azurenative.providerhub.kotlin.inputs.SkuZoneDetailArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azurenative.providerhub.kotlin.inputs

import com.pulumi.azurenative.providerhub.inputs.SkuZoneDetailArgs.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

/**
 *
 * @property capabilities
 * @property name
 */
public data class SkuZoneDetailArgs(
    public val capabilities: Output>? = null,
    public val name: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.providerhub.inputs.SkuZoneDetailArgs =
        com.pulumi.azurenative.providerhub.inputs.SkuZoneDetailArgs.builder()
            .capabilities(
                capabilities?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            )
            .name(name?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

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

    private var name: Output>? = null

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

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

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

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

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

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

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

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

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

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

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

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

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

    internal fun build(): SkuZoneDetailArgs = SkuZoneDetailArgs(
        capabilities = capabilities,
        name = name,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy