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

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

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

    private var storageClass: Output? = null

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

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy