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

com.pulumi.gcp.bigquery.kotlin.inputs.DatasetAccessRoutineArgs.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.12.0.0
Show newest version
@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.DatasetAccessRoutineArgs.builder
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 datasetId The ID of the dataset containing this table.
 * @property projectId The ID of the project containing this table.
 * @property routineId The ID of the routine. The ID must contain only letters (a-z,
 * A-Z), numbers (0-9), or underscores (_). The maximum length
 * is 256 characters.
 */
public data class DatasetAccessRoutineArgs(
    public val datasetId: Output,
    public val projectId: Output,
    public val routineId: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.bigquery.inputs.DatasetAccessRoutineArgs =
        com.pulumi.gcp.bigquery.inputs.DatasetAccessRoutineArgs.builder()
            .datasetId(datasetId.applyValue({ args0 -> args0 }))
            .projectId(projectId.applyValue({ args0 -> args0 }))
            .routineId(routineId.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [DatasetAccessRoutineArgs].
 */
@PulumiTagMarker
public class DatasetAccessRoutineArgsBuilder internal constructor() {
    private var datasetId: Output? = null

    private var projectId: Output? = null

    private var routineId: Output? = null

    /**
     * @param value The ID of the dataset containing this table.
     */
    @JvmName("hujppuxbfjijovdt")
    public suspend fun datasetId(`value`: Output) {
        this.datasetId = value
    }

    /**
     * @param value The ID of the project containing this table.
     */
    @JvmName("qgfhpvqeufsxmfay")
    public suspend fun projectId(`value`: Output) {
        this.projectId = value
    }

    /**
     * @param value The ID of the routine. The ID must contain only letters (a-z,
     * A-Z), numbers (0-9), or underscores (_). The maximum length
     * is 256 characters.
     */
    @JvmName("wpecqgrgytqjkpjk")
    public suspend fun routineId(`value`: Output) {
        this.routineId = value
    }

    /**
     * @param value The ID of the dataset containing this table.
     */
    @JvmName("enhlqtkdlmwtllbr")
    public suspend fun datasetId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.datasetId = mapped
    }

    /**
     * @param value The ID of the project containing this table.
     */
    @JvmName("cdaeiptnnnwcpjdj")
    public suspend fun projectId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.projectId = mapped
    }

    /**
     * @param value The ID of the routine. The ID must contain only letters (a-z,
     * A-Z), numbers (0-9), or underscores (_). The maximum length
     * is 256 characters.
     */
    @JvmName("pwpviseyuabxbuaw")
    public suspend fun routineId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.routineId = mapped
    }

    internal fun build(): DatasetAccessRoutineArgs = DatasetAccessRoutineArgs(
        datasetId = datasetId ?: throw PulumiNullFieldException("datasetId"),
        projectId = projectId ?: throw PulumiNullFieldException("projectId"),
        routineId = routineId ?: throw PulumiNullFieldException("routineId"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy