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