com.pulumi.kubernetes.resource.v1alpha3.kotlin.inputs.DeviceClassConfigurationArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-kubernetes-kotlin Show documentation
Show all versions of pulumi-kubernetes-kotlin Show documentation
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.DeviceClassConfigurationArgs.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 DeviceClassConfigurationArgs(
public val opaque: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.kubernetes.resource.v1alpha3.inputs.DeviceClassConfigurationArgs = com.pulumi.kubernetes.resource.v1alpha3.inputs.DeviceClassConfigurationArgs.builder()
.opaque(opaque?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [DeviceClassConfigurationArgs].
*/
@PulumiTagMarker
public class DeviceClassConfigurationArgsBuilder internal constructor() {
private var opaque: Output? = null
/**
* @param value Opaque provides driver-specific configuration parameters.
*/
@JvmName("nnkssujckagqhwbg")
public suspend fun opaque(`value`: Output) {
this.opaque = value
}
/**
* @param value Opaque provides driver-specific configuration parameters.
*/
@JvmName("rsjjotxakcdnxjvv")
public suspend fun opaque(`value`: OpaqueDeviceConfigurationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.opaque = mapped
}
/**
* @param argument Opaque provides driver-specific configuration parameters.
*/
@JvmName("qwdpdhwqidqoqxye")
public suspend fun opaque(argument: suspend OpaqueDeviceConfigurationArgsBuilder.() -> Unit) {
val toBeMapped = OpaqueDeviceConfigurationArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.opaque = mapped
}
internal fun build(): DeviceClassConfigurationArgs = DeviceClassConfigurationArgs(
opaque = opaque,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy