All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.nomad.kotlin.inputs.CsiVolumeMountOptionsArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 2.4.0.0
Show newest version
@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>) {
        this.mountFlags = Output.all(values)
    }

    /**
     * @param value `(string: optional)` - The file system type.
     */
    @JvmName("lvmekvtenumurnnk")
    public suspend fun fsType(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.fsType = mapped
    }

    /**
     * @param value `[]string: optional` - The flags passed to `mount`.
     */
    @JvmName("bymuxfylljmdknfs")
    public suspend fun mountFlags(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.mountFlags = mapped
    }

    /**
     * @param values `[]string: optional` - The flags passed to `mount`.
     */
    @JvmName("cqxcnticsnelrnhn")
    public suspend fun mountFlags(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.mountFlags = mapped
    }

    internal fun build(): CsiVolumeMountOptionsArgs = CsiVolumeMountOptionsArgs(
        fsType = fsType,
        mountFlags = mountFlags,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy