com.pulumi.nomad.kotlin.inputs.CsiVolumeTopologyRequestRequiredArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-nomad-kotlin Show documentation
Show all versions of pulumi-nomad-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.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.nomad.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import com.pulumi.nomad.inputs.CsiVolumeTopologyRequestRequiredArgs.builder
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property topologies Defines the location for the volume.
*/
public data class CsiVolumeTopologyRequestRequiredArgs(
public val topologies: Output>,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.nomad.inputs.CsiVolumeTopologyRequestRequiredArgs =
com.pulumi.nomad.inputs.CsiVolumeTopologyRequestRequiredArgs.builder()
.topologies(
topologies.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [CsiVolumeTopologyRequestRequiredArgs].
*/
@PulumiTagMarker
public class CsiVolumeTopologyRequestRequiredArgsBuilder internal constructor() {
private var topologies: Output>? = null
/**
* @param value Defines the location for the volume.
*/
@JvmName("lqahqgggmcuyykqo")
public suspend fun topologies(`value`: Output>) {
this.topologies = value
}
@JvmName("jribnyswgxuggbvp")
public suspend fun topologies(vararg values: Output) {
this.topologies = Output.all(values.asList())
}
/**
* @param values Defines the location for the volume.
*/
@JvmName("iowrwmhkcedgqtcg")
public suspend fun topologies(values: List