All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.dataplex.kotlin.inputs.TaskNotebookInfrastructureSpecVpcNetworkArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.10.0.0
Show newest version
@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.TaskNotebookInfrastructureSpecVpcNetworkArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property network The Cloud VPC network in which the job is run. By default, the Cloud VPC network named Default within the project is used.
 * @property networkTags List of network tags to apply to the job.
 * @property subNetwork The Cloud VPC sub-network in which the job is run.
 */
public data class TaskNotebookInfrastructureSpecVpcNetworkArgs(
    public val network: Output? = null,
    public val networkTags: Output>? = null,
    public val subNetwork: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.dataplex.inputs.TaskNotebookInfrastructureSpecVpcNetworkArgs = com.pulumi.gcp.dataplex.inputs.TaskNotebookInfrastructureSpecVpcNetworkArgs.builder()
        .network(network?.applyValue({ args0 -> args0 }))
        .networkTags(networkTags?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
        .subNetwork(subNetwork?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [TaskNotebookInfrastructureSpecVpcNetworkArgs].
 */
@PulumiTagMarker
public class TaskNotebookInfrastructureSpecVpcNetworkArgsBuilder internal constructor() {
    private var network: Output? = null

    private var networkTags: Output>? = null

    private var subNetwork: Output? = null

    /**
     * @param value The Cloud VPC network in which the job is run. By default, the Cloud VPC network named Default within the project is used.
     */
    @JvmName("vgnnpxevkvyjvmiw")
    public suspend fun network(`value`: Output) {
        this.network = value
    }

    /**
     * @param value List of network tags to apply to the job.
     */
    @JvmName("blccsmfrpsxvpqwd")
    public suspend fun networkTags(`value`: Output>) {
        this.networkTags = value
    }

    @JvmName("mhfgwjxmsbqkmnok")
    public suspend fun networkTags(vararg values: Output) {
        this.networkTags = Output.all(values.asList())
    }

    /**
     * @param values List of network tags to apply to the job.
     */
    @JvmName("kbnkwblcedbppyeb")
    public suspend fun networkTags(values: List>) {
        this.networkTags = Output.all(values)
    }

    /**
     * @param value The Cloud VPC sub-network in which the job is run.
     */
    @JvmName("jhnwcbtmejkambai")
    public suspend fun subNetwork(`value`: Output) {
        this.subNetwork = value
    }

    /**
     * @param value The Cloud VPC network in which the job is run. By default, the Cloud VPC network named Default within the project is used.
     */
    @JvmName("pwmrlnhbfjachkbm")
    public suspend fun network(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.network = mapped
    }

    /**
     * @param value List of network tags to apply to the job.
     */
    @JvmName("jctgwawmlitwippb")
    public suspend fun networkTags(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.networkTags = mapped
    }

    /**
     * @param values List of network tags to apply to the job.
     */
    @JvmName("vlvpievwsqfqpwxi")
    public suspend fun networkTags(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.networkTags = mapped
    }

    /**
     * @param value The Cloud VPC sub-network in which the job is run.
     */
    @JvmName("acmqumycblpeahfk")
    public suspend fun subNetwork(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.subNetwork = mapped
    }

    internal fun build(): TaskNotebookInfrastructureSpecVpcNetworkArgs =
        TaskNotebookInfrastructureSpecVpcNetworkArgs(
            network = network,
            networkTags = networkTags,
            subNetwork = subNetwork,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy