com.pulumi.kubernetes.resource.v1alpha3.kotlin.inputs.DeviceClaimConfigurationArgs.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.
@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.DeviceClaimConfigurationArgs.builder
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* DeviceClaimConfiguration is used for configuration parameters in DeviceClaim.
* @property opaque Opaque provides driver-specific configuration parameters.
* @property requests Requests lists the names of requests where the configuration applies. If empty, it applies to all requests.
*/
public data class DeviceClaimConfigurationArgs(
public val opaque: Output? = null,
public val requests: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.kubernetes.resource.v1alpha3.inputs.DeviceClaimConfigurationArgs = com.pulumi.kubernetes.resource.v1alpha3.inputs.DeviceClaimConfigurationArgs.builder()
.opaque(opaque?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.requests(requests?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [DeviceClaimConfigurationArgs].
*/
@PulumiTagMarker
public class DeviceClaimConfigurationArgsBuilder internal constructor() {
private var opaque: Output? = null
private var requests: Output>? = null
/**
* @param value Opaque provides driver-specific configuration parameters.
*/
@JvmName("vvgkiorlifyqhkti")
public suspend fun opaque(`value`: Output) {
this.opaque = value
}
/**
* @param value Requests lists the names of requests where the configuration applies. If empty, it applies to all requests.
*/
@JvmName("bkkcvtyaqqkeqjkw")
public suspend fun requests(`value`: Output>) {
this.requests = value
}
@JvmName("nvepvptjvnucuiqi")
public suspend fun requests(vararg values: Output) {
this.requests = Output.all(values.asList())
}
/**
* @param values Requests lists the names of requests where the configuration applies. If empty, it applies to all requests.
*/
@JvmName("aewiquuewnaiqdfy")
public suspend fun requests(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy