![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.nomad.kotlin.inputs.CsiVolumeRegistrationTopologyRequestArgs.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.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import com.pulumi.nomad.inputs.CsiVolumeRegistrationTopologyRequestArgs.builder
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property required `(``Topology``: )` - Required topologies indicate that the volume must be created in a location accessible from all the listed topologies.
*/
public data class CsiVolumeRegistrationTopologyRequestArgs(
public val required: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.nomad.inputs.CsiVolumeRegistrationTopologyRequestArgs =
com.pulumi.nomad.inputs.CsiVolumeRegistrationTopologyRequestArgs.builder()
.required(required?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [CsiVolumeRegistrationTopologyRequestArgs].
*/
@PulumiTagMarker
public class CsiVolumeRegistrationTopologyRequestArgsBuilder internal constructor() {
private var required: Output? = null
/**
* @param value `(``Topology``: )` - Required topologies indicate that the volume must be created in a location accessible from all the listed topologies.
*/
@JvmName("lejnjlemvibihyxk")
public suspend fun required(`value`: Output) {
this.required = value
}
/**
* @param value `(``Topology``: )` - Required topologies indicate that the volume must be created in a location accessible from all the listed topologies.
*/
@JvmName("tqkpmljsxemptqta")
public suspend fun required(`value`: CsiVolumeRegistrationTopologyRequestRequiredArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.required = mapped
}
/**
* @param argument `(``Topology``: )` - Required topologies indicate that the volume must be created in a location accessible from all the listed topologies.
*/
@JvmName("yklklhxnemhqhamc")
public suspend fun required(argument: suspend CsiVolumeRegistrationTopologyRequestRequiredArgsBuilder.() -> Unit) {
val toBeMapped = CsiVolumeRegistrationTopologyRequestRequiredArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.required = mapped
}
internal fun build(): CsiVolumeRegistrationTopologyRequestArgs =
CsiVolumeRegistrationTopologyRequestArgs(
required = required,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy