
com.pulumi.googlenative.compute.v1.kotlin.inputs.GetMachineImagePlainArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-google-native-kotlin Show documentation
Show all versions of pulumi-google-native-kotlin Show documentation
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.googlenative.compute.v1.inputs.GetMachineImagePlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property machineImage
* @property project
*/
public data class GetMachineImagePlainArgs(
public val machineImage: String,
public val project: String? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.googlenative.compute.v1.inputs.GetMachineImagePlainArgs =
com.pulumi.googlenative.compute.v1.inputs.GetMachineImagePlainArgs.builder()
.machineImage(machineImage.let({ args0 -> args0 }))
.project(project?.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetMachineImagePlainArgs].
*/
@PulumiTagMarker
public class GetMachineImagePlainArgsBuilder internal constructor() {
private var machineImage: String? = null
private var project: String? = null
/**
* @param value
*/
@JvmName("hpyoosjeshdruiiv")
public suspend fun machineImage(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.machineImage = mapped
}
/**
* @param value
*/
@JvmName("ytqqyunvpipgtmtk")
public suspend fun project(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.project = mapped
}
internal fun build(): GetMachineImagePlainArgs = GetMachineImagePlainArgs(
machineImage = machineImage ?: throw PulumiNullFieldException("machineImage"),
project = project,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy