com.pulumi.kubernetes.resource.v1alpha3.kotlin.inputs.DeviceClaimConfigurationPatchArgs.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.DeviceClaimConfigurationPatchArgs.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 DeviceClaimConfigurationPatchArgs(
public val opaque: Output? = null,
public val requests: Output>? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.kubernetes.resource.v1alpha3.inputs.DeviceClaimConfigurationPatchArgs =
com.pulumi.kubernetes.resource.v1alpha3.inputs.DeviceClaimConfigurationPatchArgs.builder()
.opaque(opaque?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.requests(requests?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [DeviceClaimConfigurationPatchArgs].
*/
@PulumiTagMarker
public class DeviceClaimConfigurationPatchArgsBuilder internal constructor() {
private var opaque: Output? = null
private var requests: Output>? = null
/**
* @param value Opaque provides driver-specific configuration parameters.
*/
@JvmName("cjricnmwijvbaayg")
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("lydrvehyouhhejbj")
public suspend fun requests(`value`: Output>) {
this.requests = value
}
@JvmName("pxigwdgkbujcuomv")
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("apicruamyabiqpph")
public suspend fun requests(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy