
com.pulumi.googlenative.compute.alpha.kotlin.inputs.GetDiskPlainArgs.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.alpha.kotlin.inputs
import com.pulumi.googlenative.compute.alpha.inputs.GetDiskPlainArgs.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 disk
* @property project
* @property zone
*/
public data class GetDiskPlainArgs(
public val disk: String,
public val project: String? = null,
public val zone: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.googlenative.compute.alpha.inputs.GetDiskPlainArgs =
com.pulumi.googlenative.compute.alpha.inputs.GetDiskPlainArgs.builder()
.disk(disk.let({ args0 -> args0 }))
.project(project?.let({ args0 -> args0 }))
.zone(zone.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetDiskPlainArgs].
*/
@PulumiTagMarker
public class GetDiskPlainArgsBuilder internal constructor() {
private var disk: String? = null
private var project: String? = null
private var zone: String? = null
/**
* @param value
*/
@JvmName("lyyrqidjsfqeqaho")
public suspend fun disk(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.disk = mapped
}
/**
* @param value
*/
@JvmName("tfrsdwxypafchmry")
public suspend fun project(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.project = mapped
}
/**
* @param value
*/
@JvmName("nychqblmajgncsgx")
public suspend fun zone(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.zone = mapped
}
internal fun build(): GetDiskPlainArgs = GetDiskPlainArgs(
disk = disk ?: throw PulumiNullFieldException("disk"),
project = project,
zone = zone ?: throw PulumiNullFieldException("zone"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy