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

com.pulumi.gcp.gkeonprem.kotlin.inputs.BareMetalClusterStorageLvpShareConfigLvpConfigArgs.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: 8.12.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.gkeonprem.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterStorageLvpShareConfigLvpConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property path The host machine path.
 * @property storageClass The StorageClass name that PVs will be created with.
 */
public data class BareMetalClusterStorageLvpShareConfigLvpConfigArgs(
    public val path: Output,
    public val storageClass: Output,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterStorageLvpShareConfigLvpConfigArgs =
        com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterStorageLvpShareConfigLvpConfigArgs.builder()
            .path(path.applyValue({ args0 -> args0 }))
            .storageClass(storageClass.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [BareMetalClusterStorageLvpShareConfigLvpConfigArgs].
 */
@PulumiTagMarker
public class BareMetalClusterStorageLvpShareConfigLvpConfigArgsBuilder internal constructor() {
    private var path: Output? = null

    private var storageClass: Output? = null

    /**
     * @param value The host machine path.
     */
    @JvmName("qhltedcoxdayoxkk")
    public suspend fun path(`value`: Output) {
        this.path = value
    }

    /**
     * @param value The StorageClass name that PVs will be created with.
     */
    @JvmName("sybbooceixdwskad")
    public suspend fun storageClass(`value`: Output) {
        this.storageClass = value
    }

    /**
     * @param value The host machine path.
     */
    @JvmName("toklwrhucdsxvrbn")
    public suspend fun path(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.path = mapped
    }

    /**
     * @param value The StorageClass name that PVs will be created with.
     */
    @JvmName("dqgxhqfhtgfhxxif")
    public suspend fun storageClass(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.storageClass = mapped
    }

    internal fun build(): BareMetalClusterStorageLvpShareConfigLvpConfigArgs =
        BareMetalClusterStorageLvpShareConfigLvpConfigArgs(
            path = path ?: throw PulumiNullFieldException("path"),
            storageClass = storageClass ?: throw PulumiNullFieldException("storageClass"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy