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

com.pulumi.kubernetes.resource.v1alpha3.kotlin.inputs.DeviceClassConfigurationPatchArgs.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.resource.v1alpha3.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.kotlin.applySuspend
import com.pulumi.kubernetes.resource.v1alpha3.inputs.DeviceClassConfigurationPatchArgs.builder
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 * DeviceClassConfiguration is used in DeviceClass.
 * @property opaque Opaque provides driver-specific configuration parameters.
 */
public data class DeviceClassConfigurationPatchArgs(
    public val opaque: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.kubernetes.resource.v1alpha3.inputs.DeviceClassConfigurationPatchArgs =
        com.pulumi.kubernetes.resource.v1alpha3.inputs.DeviceClassConfigurationPatchArgs.builder()
            .opaque(opaque?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [DeviceClassConfigurationPatchArgs].
 */
@PulumiTagMarker
public class DeviceClassConfigurationPatchArgsBuilder internal constructor() {
    private var opaque: Output? = null

    /**
     * @param value Opaque provides driver-specific configuration parameters.
     */
    @JvmName("blqpnqufhyiietkr")
    public suspend fun opaque(`value`: Output) {
        this.opaque = value
    }

    /**
     * @param value Opaque provides driver-specific configuration parameters.
     */
    @JvmName("jtxtfvyaxmgqvham")
    public suspend fun opaque(`value`: OpaqueDeviceConfigurationPatchArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.opaque = mapped
    }

    /**
     * @param argument Opaque provides driver-specific configuration parameters.
     */
    @JvmName("rjyyidcrrncxfdfp")
    public suspend fun opaque(argument: suspend OpaqueDeviceConfigurationPatchArgsBuilder.() -> Unit) {
        val toBeMapped = OpaqueDeviceConfigurationPatchArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.opaque = mapped
    }

    internal fun build(): DeviceClassConfigurationPatchArgs = DeviceClassConfigurationPatchArgs(
        opaque = opaque,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy