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

com.pulumi.kubernetes.extensions.v1beta1.kotlin.inputs.AllowedFlexVolumePatchArgs.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.

The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.kubernetes.extensions.v1beta1.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.kubernetes.extensions.v1beta1.inputs.AllowedFlexVolumePatchArgs.builder
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * AllowedFlexVolume represents a single Flexvolume that is allowed to be used. Deprecated: use AllowedFlexVolume from policy API Group instead.
 * @property driver driver is the name of the Flexvolume driver.
 */
public data class AllowedFlexVolumePatchArgs(
    public val driver: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.kubernetes.extensions.v1beta1.inputs.AllowedFlexVolumePatchArgs = com.pulumi.kubernetes.extensions.v1beta1.inputs.AllowedFlexVolumePatchArgs.builder()
        .driver(driver?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [AllowedFlexVolumePatchArgs].
 */
@PulumiTagMarker
public class AllowedFlexVolumePatchArgsBuilder internal constructor() {
    private var driver: Output? = null

    /**
     * @param value driver is the name of the Flexvolume driver.
     */
    @JvmName("rkxnpsvfmhmyyeab")
    public suspend fun driver(`value`: Output) {
        this.driver = value
    }

    /**
     * @param value driver is the name of the Flexvolume driver.
     */
    @JvmName("rvgvfhvscnjeiyxk")
    public suspend fun driver(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.driver = mapped
    }

    internal fun build(): AllowedFlexVolumePatchArgs = AllowedFlexVolumePatchArgs(
        driver = driver,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy