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

com.pulumi.gcp.tpu.kotlin.inputs.V2VmShieldedInstanceConfigArgs.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: 8.12.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.tpu.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.tpu.inputs.V2VmShieldedInstanceConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property enableSecureBoot Defines whether the instance has Secure Boot enabled.
 */
public data class V2VmShieldedInstanceConfigArgs(
    public val enableSecureBoot: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.tpu.inputs.V2VmShieldedInstanceConfigArgs =
        com.pulumi.gcp.tpu.inputs.V2VmShieldedInstanceConfigArgs.builder()
            .enableSecureBoot(enableSecureBoot.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [V2VmShieldedInstanceConfigArgs].
 */
@PulumiTagMarker
public class V2VmShieldedInstanceConfigArgsBuilder internal constructor() {
    private var enableSecureBoot: Output? = null

    /**
     * @param value Defines whether the instance has Secure Boot enabled.
     */
    @JvmName("ddtumcbbxvqavslu")
    public suspend fun enableSecureBoot(`value`: Output) {
        this.enableSecureBoot = value
    }

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

    internal fun build(): V2VmShieldedInstanceConfigArgs = V2VmShieldedInstanceConfigArgs(
        enableSecureBoot = enableSecureBoot ?: throw PulumiNullFieldException("enableSecureBoot"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy