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

com.pulumi.googlenative.compute.v1.kotlin.inputs.DisplayDeviceArgs.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.

The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.googlenative.compute.v1.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.googlenative.compute.v1.inputs.DisplayDeviceArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * A set of Display Device options
 * @property enableDisplay Defines whether the instance has Display enabled.
 */
public data class DisplayDeviceArgs(
    public val enableDisplay: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.googlenative.compute.v1.inputs.DisplayDeviceArgs =
        com.pulumi.googlenative.compute.v1.inputs.DisplayDeviceArgs.builder()
            .enableDisplay(enableDisplay?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [DisplayDeviceArgs].
 */
@PulumiTagMarker
public class DisplayDeviceArgsBuilder internal constructor() {
    private var enableDisplay: Output? = null

    /**
     * @param value Defines whether the instance has Display enabled.
     */
    @JvmName("noowaahprbdmsbod")
    public suspend fun enableDisplay(`value`: Output) {
        this.enableDisplay = value
    }

    /**
     * @param value Defines whether the instance has Display enabled.
     */
    @JvmName("pqgtikferftvjdmg")
    public suspend fun enableDisplay(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.enableDisplay = mapped
    }

    internal fun build(): DisplayDeviceArgs = DisplayDeviceArgs(
        enableDisplay = enableDisplay,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy