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

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

package com.pulumi.gcp.workbench.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.workbench.inputs.InstanceGceSetupVmImageArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property family Optional. Use this VM image family to find the image; the newest
 * image in this family will be used.
 * @property name Optional. Use VM image name to find the image.
 * @property project The name of the Google Cloud project that this VM image belongs to.
 * Format: {project_id}
 */
public data class InstanceGceSetupVmImageArgs(
    public val family: Output? = null,
    public val name: Output? = null,
    public val project: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.workbench.inputs.InstanceGceSetupVmImageArgs =
        com.pulumi.gcp.workbench.inputs.InstanceGceSetupVmImageArgs.builder()
            .family(family?.applyValue({ args0 -> args0 }))
            .name(name?.applyValue({ args0 -> args0 }))
            .project(project?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [InstanceGceSetupVmImageArgs].
 */
@PulumiTagMarker
public class InstanceGceSetupVmImageArgsBuilder internal constructor() {
    private var family: Output? = null

    private var name: Output? = null

    private var project: Output? = null

    /**
     * @param value Optional. Use this VM image family to find the image; the newest
     * image in this family will be used.
     */
    @JvmName("qbpwjylpbdegvcpg")
    public suspend fun family(`value`: Output) {
        this.family = value
    }

    /**
     * @param value Optional. Use VM image name to find the image.
     */
    @JvmName("fnslhwtsxdiebvjh")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value The name of the Google Cloud project that this VM image belongs to.
     * Format: {project_id}
     */
    @JvmName("voofyayitqsrodhg")
    public suspend fun project(`value`: Output) {
        this.project = value
    }

    /**
     * @param value Optional. Use this VM image family to find the image; the newest
     * image in this family will be used.
     */
    @JvmName("mearmcmlalgrgmym")
    public suspend fun family(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.family = mapped
    }

    /**
     * @param value Optional. Use VM image name to find the image.
     */
    @JvmName("aajqkhcpxplrhurp")
    public suspend fun name(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value The name of the Google Cloud project that this VM image belongs to.
     * Format: {project_id}
     */
    @JvmName("qcwrlbpcwcawdbgn")
    public suspend fun project(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.project = mapped
    }

    internal fun build(): InstanceGceSetupVmImageArgs = InstanceGceSetupVmImageArgs(
        family = family,
        name = name,
        project = project,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy