![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.cloudflare.kotlin.inputs.WorkerScriptHyperdriveConfigBindingArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-cloudflare-kotlin Show documentation
Show all versions of pulumi-cloudflare-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.cloudflare.kotlin.inputs
import com.pulumi.cloudflare.inputs.WorkerScriptHyperdriveConfigBindingArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property binding The global variable for the binding in your Worker code.
* @property id The ID of the Hyperdrive config to use.
*/
public data class WorkerScriptHyperdriveConfigBindingArgs(
public val binding: Output,
public val id: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.cloudflare.inputs.WorkerScriptHyperdriveConfigBindingArgs =
com.pulumi.cloudflare.inputs.WorkerScriptHyperdriveConfigBindingArgs.builder()
.binding(binding.applyValue({ args0 -> args0 }))
.id(id.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [WorkerScriptHyperdriveConfigBindingArgs].
*/
@PulumiTagMarker
public class WorkerScriptHyperdriveConfigBindingArgsBuilder internal constructor() {
private var binding: Output? = null
private var id: Output? = null
/**
* @param value The global variable for the binding in your Worker code.
*/
@JvmName("oovhcxnnnejymufe")
public suspend fun binding(`value`: Output) {
this.binding = value
}
/**
* @param value The ID of the Hyperdrive config to use.
*/
@JvmName("sofvqpdfqydlppcl")
public suspend fun id(`value`: Output) {
this.id = value
}
/**
* @param value The global variable for the binding in your Worker code.
*/
@JvmName("qytoxsfivpglfora")
public suspend fun binding(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.binding = mapped
}
/**
* @param value The ID of the Hyperdrive config to use.
*/
@JvmName("hytogwmebwfhedsw")
public suspend fun id(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.id = mapped
}
internal fun build(): WorkerScriptHyperdriveConfigBindingArgs =
WorkerScriptHyperdriveConfigBindingArgs(
binding = binding ?: throw PulumiNullFieldException("binding"),
id = id ?: throw PulumiNullFieldException("id"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy