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

com.pulumi.azurenative.migrate.kotlin.inputs.VsphereManagementSettingsArgs.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: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.migrate.kotlin.inputs

import com.pulumi.azurenative.migrate.inputs.VsphereManagementSettingsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 * Vsphere management settings.
 * @property licenseAndSupportList Licence and support list.
 */
public data class VsphereManagementSettingsArgs(
    public val licenseAndSupportList: Output>,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.migrate.inputs.VsphereManagementSettingsArgs =
        com.pulumi.azurenative.migrate.inputs.VsphereManagementSettingsArgs.builder()
            .licenseAndSupportList(
                licenseAndSupportList.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 -> args0.toJava() })
                    })
                }),
            ).build()
}

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

    /**
     * @param value Licence and support list.
     */
    @JvmName("jarbdsdjiotvflvn")
    public suspend fun licenseAndSupportList(`value`: Output>) {
        this.licenseAndSupportList = value
    }

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

    /**
     * @param values Licence and support list.
     */
    @JvmName("btnxxfsguwykgngg")
    public suspend fun licenseAndSupportList(values: List>) {
        this.licenseAndSupportList = Output.all(values)
    }

    /**
     * @param value Licence and support list.
     */
    @JvmName("afbiyrvanqycbnxl")
    public suspend fun licenseAndSupportList(`value`: List) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.licenseAndSupportList = mapped
    }

    /**
     * @param argument Licence and support list.
     */
    @JvmName("alwiafqokygmdwjq")
    public suspend fun licenseAndSupportList(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            VsphereManagementLicenseArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.licenseAndSupportList = mapped
    }

    /**
     * @param argument Licence and support list.
     */
    @JvmName("aenoxknfxmyvdskq")
    public suspend fun licenseAndSupportList(vararg argument: suspend VsphereManagementLicenseArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            VsphereManagementLicenseArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.licenseAndSupportList = mapped
    }

    /**
     * @param argument Licence and support list.
     */
    @JvmName("ncmevfdgejlghmuv")
    public suspend fun licenseAndSupportList(argument: suspend VsphereManagementLicenseArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            VsphereManagementLicenseArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.licenseAndSupportList = mapped
    }

    /**
     * @param values Licence and support list.
     */
    @JvmName("mhsutwcwtjpxoike")
    public suspend fun licenseAndSupportList(vararg values: VsphereManagementLicenseArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.licenseAndSupportList = mapped
    }

    internal fun build(): VsphereManagementSettingsArgs = VsphereManagementSettingsArgs(
        licenseAndSupportList = licenseAndSupportList ?: throw
            PulumiNullFieldException("licenseAndSupportList"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy