com.pulumi.nomad.kotlin.inputs.VolumeMountOptionsArgs.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.nomad.inputs.VolumeMountOptionsArgs.builder
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property fsType `(string: )` - The file system type.
* @property mountFlags `([]string: )` - The flags passed to `mount`.
*/
public data class VolumeMountOptionsArgs(
public val fsType: Output? = null,
public val mountFlags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.nomad.inputs.VolumeMountOptionsArgs =
com.pulumi.nomad.inputs.VolumeMountOptionsArgs.builder()
.fsType(fsType?.applyValue({ args0 -> args0 }))
.mountFlags(mountFlags?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [VolumeMountOptionsArgs].
*/
@PulumiTagMarker
public class VolumeMountOptionsArgsBuilder internal constructor() {
private var fsType: Output? = null
private var mountFlags: Output>? = null
/**
* @param value `(string: )` - The file system type.
*/
@JvmName("wrnbxibswuqfqnke")
public suspend fun fsType(`value`: Output) {
this.fsType = value
}
/**
* @param value `([]string: )` - The flags passed to `mount`.
*/
@JvmName("pkethtstehwnafbm")
public suspend fun mountFlags(`value`: Output>) {
this.mountFlags = value
}
@JvmName("tdlxondihtimkron")
public suspend fun mountFlags(vararg values: Output) {
this.mountFlags = Output.all(values.asList())
}
/**
* @param values `([]string: )` - The flags passed to `mount`.
*/
@JvmName("xvquusylowmeafhj")
public suspend fun mountFlags(values: List