com.pulumi.gcp.dataplex.kotlin.inputs.TaskNotebookArgs.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.dataplex.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.dataplex.inputs.TaskNotebookArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property archiveUris Cloud Storage URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.
* @property fileUris Cloud Storage URIs of files to be placed in the working directory of each executor.
* @property infrastructureSpec Infrastructure specification for the execution.
* Structure is documented below.
* @property notebook Path to input notebook. This can be the Cloud Storage URI of the notebook file or the path to a Notebook Content. The execution args are accessible as environment variables (TASK_key=value).
*/
public data class TaskNotebookArgs(
public val archiveUris: Output>? = null,
public val fileUris: Output>? = null,
public val infrastructureSpec: Output? = null,
public val notebook: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.dataplex.inputs.TaskNotebookArgs =
com.pulumi.gcp.dataplex.inputs.TaskNotebookArgs.builder()
.archiveUris(archiveUris?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.fileUris(fileUris?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.infrastructureSpec(
infrastructureSpec?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.notebook(notebook.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [TaskNotebookArgs].
*/
@PulumiTagMarker
public class TaskNotebookArgsBuilder internal constructor() {
private var archiveUris: Output>? = null
private var fileUris: Output>? = null
private var infrastructureSpec: Output? = null
private var notebook: Output? = null
/**
* @param value Cloud Storage URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.
*/
@JvmName("ydjmsdhfcqcyarxf")
public suspend fun archiveUris(`value`: Output>) {
this.archiveUris = value
}
@JvmName("giqichbfoaxhfgdd")
public suspend fun archiveUris(vararg values: Output) {
this.archiveUris = Output.all(values.asList())
}
/**
* @param values Cloud Storage URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.
*/
@JvmName("gptmwbwhwmpbovbc")
public suspend fun archiveUris(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy