com.pulumi.gcp.dataplex.kotlin.inputs.TaskNotebookInfrastructureSpecArgs.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.TaskNotebookInfrastructureSpecArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property batch Compute resources needed for a Task when using Dataproc Serverless.
* Structure is documented below.
* @property containerImage Container Image Runtime Configuration.
* Structure is documented below.
* @property vpcNetwork Vpc network.
* Structure is documented below.
*/
public data class TaskNotebookInfrastructureSpecArgs(
public val batch: Output? = null,
public val containerImage: Output? = null,
public val vpcNetwork: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.dataplex.inputs.TaskNotebookInfrastructureSpecArgs =
com.pulumi.gcp.dataplex.inputs.TaskNotebookInfrastructureSpecArgs.builder()
.batch(batch?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.containerImage(containerImage?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.vpcNetwork(vpcNetwork?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [TaskNotebookInfrastructureSpecArgs].
*/
@PulumiTagMarker
public class TaskNotebookInfrastructureSpecArgsBuilder internal constructor() {
private var batch: Output? = null
private var containerImage: Output? = null
private var vpcNetwork: Output? = null
/**
* @param value Compute resources needed for a Task when using Dataproc Serverless.
* Structure is documented below.
*/
@JvmName("bsoiyffvkjkinrwn")
public suspend fun batch(`value`: Output) {
this.batch = value
}
/**
* @param value Container Image Runtime Configuration.
* Structure is documented below.
*/
@JvmName("mwjqmhicqatxrxcc")
public suspend fun containerImage(`value`: Output) {
this.containerImage = value
}
/**
* @param value Vpc network.
* Structure is documented below.
*/
@JvmName("ibvtfgxteppbdpxo")
public suspend fun vpcNetwork(`value`: Output) {
this.vpcNetwork = value
}
/**
* @param value Compute resources needed for a Task when using Dataproc Serverless.
* Structure is documented below.
*/
@JvmName("audybacnqerjjuwi")
public suspend fun batch(`value`: TaskNotebookInfrastructureSpecBatchArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.batch = mapped
}
/**
* @param argument Compute resources needed for a Task when using Dataproc Serverless.
* Structure is documented below.
*/
@JvmName("imfwmkdjirykcpih")
public suspend fun batch(argument: suspend TaskNotebookInfrastructureSpecBatchArgsBuilder.() -> Unit) {
val toBeMapped = TaskNotebookInfrastructureSpecBatchArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.batch = mapped
}
/**
* @param value Container Image Runtime Configuration.
* Structure is documented below.
*/
@JvmName("svvkrljxhmpxmodb")
public suspend fun containerImage(`value`: TaskNotebookInfrastructureSpecContainerImageArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.containerImage = mapped
}
/**
* @param argument Container Image Runtime Configuration.
* Structure is documented below.
*/
@JvmName("hfsqflsyuruyqtmh")
public suspend fun containerImage(argument: suspend TaskNotebookInfrastructureSpecContainerImageArgsBuilder.() -> Unit) {
val toBeMapped = TaskNotebookInfrastructureSpecContainerImageArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.containerImage = mapped
}
/**
* @param value Vpc network.
* Structure is documented below.
*/
@JvmName("qwmwpalpwbavudni")
public suspend fun vpcNetwork(`value`: TaskNotebookInfrastructureSpecVpcNetworkArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.vpcNetwork = mapped
}
/**
* @param argument Vpc network.
* Structure is documented below.
*/
@JvmName("okvevajftgdsxcnu")
public suspend fun vpcNetwork(argument: suspend TaskNotebookInfrastructureSpecVpcNetworkArgsBuilder.() -> Unit) {
val toBeMapped = TaskNotebookInfrastructureSpecVpcNetworkArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.vpcNetwork = mapped
}
internal fun build(): TaskNotebookInfrastructureSpecArgs = TaskNotebookInfrastructureSpecArgs(
batch = batch,
containerImage = containerImage,
vpcNetwork = vpcNetwork,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy