com.pulumi.gcp.bigquery.kotlin.inputs.JobQueryUserDefinedFunctionResourceArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.bigquery.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.bigquery.inputs.JobQueryUserDefinedFunctionResourceArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property inlineCode An inline resource that contains code for a user-defined function (UDF).
* Providing a inline code resource is equivalent to providing a URI for a file containing the same code.
* @property resourceUri A code resource to load from a Google Cloud Storage URI (gs://bucket/path).
*/
public data class JobQueryUserDefinedFunctionResourceArgs(
public val inlineCode: Output? = null,
public val resourceUri: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.bigquery.inputs.JobQueryUserDefinedFunctionResourceArgs =
com.pulumi.gcp.bigquery.inputs.JobQueryUserDefinedFunctionResourceArgs.builder()
.inlineCode(inlineCode?.applyValue({ args0 -> args0 }))
.resourceUri(resourceUri?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [JobQueryUserDefinedFunctionResourceArgs].
*/
@PulumiTagMarker
public class JobQueryUserDefinedFunctionResourceArgsBuilder internal constructor() {
private var inlineCode: Output? = null
private var resourceUri: Output? = null
/**
* @param value An inline resource that contains code for a user-defined function (UDF).
* Providing a inline code resource is equivalent to providing a URI for a file containing the same code.
*/
@JvmName("pdrxhngwuyjflwsl")
public suspend fun inlineCode(`value`: Output) {
this.inlineCode = value
}
/**
* @param value A code resource to load from a Google Cloud Storage URI (gs://bucket/path).
*/
@JvmName("ogegwlqwefmeekfw")
public suspend fun resourceUri(`value`: Output) {
this.resourceUri = value
}
/**
* @param value An inline resource that contains code for a user-defined function (UDF).
* Providing a inline code resource is equivalent to providing a URI for a file containing the same code.
*/
@JvmName("ndjlrxhdkxvgatwi")
public suspend fun inlineCode(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.inlineCode = mapped
}
/**
* @param value A code resource to load from a Google Cloud Storage URI (gs://bucket/path).
*/
@JvmName("radlfsydroxkjkxh")
public suspend fun resourceUri(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.resourceUri = mapped
}
internal fun build(): JobQueryUserDefinedFunctionResourceArgs =
JobQueryUserDefinedFunctionResourceArgs(
inlineCode = inlineCode,
resourceUri = resourceUri,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy