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

com.pulumi.gcp.vertex.kotlin.inputs.AiFeatureGroupBigQueryArgs.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.vertex.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.vertex.inputs.AiFeatureGroupBigQueryArgs.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 bigQuerySource The BigQuery source URI that points to either a BigQuery Table or View.
 * Structure is documented below.
 * @property entityIdColumns Columns to construct entityId / row keys. Currently only supports 1 entity_id_column. If not provided defaults to entityId.
 */
public data class AiFeatureGroupBigQueryArgs(
    public val bigQuerySource: Output,
    public val entityIdColumns: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.vertex.inputs.AiFeatureGroupBigQueryArgs =
        com.pulumi.gcp.vertex.inputs.AiFeatureGroupBigQueryArgs.builder()
            .bigQuerySource(bigQuerySource.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .entityIdColumns(entityIdColumns?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

/**
 * Builder for [AiFeatureGroupBigQueryArgs].
 */
@PulumiTagMarker
public class AiFeatureGroupBigQueryArgsBuilder internal constructor() {
    private var bigQuerySource: Output? = null

    private var entityIdColumns: Output>? = null

    /**
     * @param value The BigQuery source URI that points to either a BigQuery Table or View.
     * Structure is documented below.
     */
    @JvmName("kefqdgqnqdkwlytt")
    public suspend fun bigQuerySource(`value`: Output) {
        this.bigQuerySource = value
    }

    /**
     * @param value Columns to construct entityId / row keys. Currently only supports 1 entity_id_column. If not provided defaults to entityId.
     */
    @JvmName("foleyjblrrupoyie")
    public suspend fun entityIdColumns(`value`: Output>) {
        this.entityIdColumns = value
    }

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

    /**
     * @param values Columns to construct entityId / row keys. Currently only supports 1 entity_id_column. If not provided defaults to entityId.
     */
    @JvmName("qndtfotrximmfttq")
    public suspend fun entityIdColumns(values: List>) {
        this.entityIdColumns = Output.all(values)
    }

    /**
     * @param value The BigQuery source URI that points to either a BigQuery Table or View.
     * Structure is documented below.
     */
    @JvmName("thowypnbsmyqqpmn")
    public suspend fun bigQuerySource(`value`: AiFeatureGroupBigQueryBigQuerySourceArgs) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.bigQuerySource = mapped
    }

    /**
     * @param argument The BigQuery source URI that points to either a BigQuery Table or View.
     * Structure is documented below.
     */
    @JvmName("txywlfdyhkiyhedd")
    public suspend fun bigQuerySource(argument: suspend AiFeatureGroupBigQueryBigQuerySourceArgsBuilder.() -> Unit) {
        val toBeMapped = AiFeatureGroupBigQueryBigQuerySourceArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.bigQuerySource = mapped
    }

    /**
     * @param value Columns to construct entityId / row keys. Currently only supports 1 entity_id_column. If not provided defaults to entityId.
     */
    @JvmName("yojjtawxydletdej")
    public suspend fun entityIdColumns(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.entityIdColumns = mapped
    }

    /**
     * @param values Columns to construct entityId / row keys. Currently only supports 1 entity_id_column. If not provided defaults to entityId.
     */
    @JvmName("ljxcfytjbhjvkyhm")
    public suspend fun entityIdColumns(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.entityIdColumns = mapped
    }

    internal fun build(): AiFeatureGroupBigQueryArgs = AiFeatureGroupBigQueryArgs(
        bigQuerySource = bigQuerySource ?: throw PulumiNullFieldException("bigQuerySource"),
        entityIdColumns = entityIdColumns,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy