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

com.pulumi.gcp.gkeonprem.kotlin.inputs.BareMetalClusterStorageLvpNodeMountsConfigArgs.kt Maven / Gradle / Ivy

@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.BareMetalClusterStorageLvpNodeMountsConfigArgs.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 BareMetalClusterStorageLvpNodeMountsConfigArgs(
    public val path: Output,
    public val storageClass: Output,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterStorageLvpNodeMountsConfigArgs =
        com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterStorageLvpNodeMountsConfigArgs.builder()
            .path(path.applyValue({ args0 -> args0 }))
            .storageClass(storageClass.applyValue({ args0 -> args0 })).build()
}

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

    private var storageClass: Output? = null

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

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

    /**
     * @param value The host machine path.
     */
    @JvmName("ddhwwoogmedyotfo")
    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("gwgekurxjxburbam")
    public suspend fun storageClass(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.storageClass = mapped
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy