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

com.pulumi.gcp.vertex.kotlin.inputs.AiFeatureOnlineStoreFeatureviewBigQuerySourceArgs.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.AiFeatureOnlineStoreFeatureviewBigQuerySourceArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property entityIdColumns Columns to construct entityId / row keys. Start by supporting 1 only.
 * @property uri The BigQuery view URI that will be materialized on each sync trigger based on FeatureView.SyncConfig.
 */
public data class AiFeatureOnlineStoreFeatureviewBigQuerySourceArgs(
    public val entityIdColumns: Output>,
    public val uri: Output,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.vertex.inputs.AiFeatureOnlineStoreFeatureviewBigQuerySourceArgs =
        com.pulumi.gcp.vertex.inputs.AiFeatureOnlineStoreFeatureviewBigQuerySourceArgs.builder()
            .entityIdColumns(entityIdColumns.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .uri(uri.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [AiFeatureOnlineStoreFeatureviewBigQuerySourceArgs].
 */
@PulumiTagMarker
public class AiFeatureOnlineStoreFeatureviewBigQuerySourceArgsBuilder internal constructor() {
    private var entityIdColumns: Output>? = null

    private var uri: Output? = null

    /**
     * @param value Columns to construct entityId / row keys. Start by supporting 1 only.
     */
    @JvmName("xalepywqpvryiebv")
    public suspend fun entityIdColumns(`value`: Output>) {
        this.entityIdColumns = value
    }

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

    /**
     * @param values Columns to construct entityId / row keys. Start by supporting 1 only.
     */
    @JvmName("aqfbjspgaxdfmife")
    public suspend fun entityIdColumns(values: List>) {
        this.entityIdColumns = Output.all(values)
    }

    /**
     * @param value The BigQuery view URI that will be materialized on each sync trigger based on FeatureView.SyncConfig.
     */
    @JvmName("eivkebdlwvujojgn")
    public suspend fun uri(`value`: Output) {
        this.uri = value
    }

    /**
     * @param value Columns to construct entityId / row keys. Start by supporting 1 only.
     */
    @JvmName("cddumxxtharcsned")
    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. Start by supporting 1 only.
     */
    @JvmName("alanewwumhmgqqxm")
    public suspend fun entityIdColumns(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.entityIdColumns = mapped
    }

    /**
     * @param value The BigQuery view URI that will be materialized on each sync trigger based on FeatureView.SyncConfig.
     */
    @JvmName("yhcfuodxorcjbtqv")
    public suspend fun uri(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.uri = mapped
    }

    internal fun build(): AiFeatureOnlineStoreFeatureviewBigQuerySourceArgs =
        AiFeatureOnlineStoreFeatureviewBigQuerySourceArgs(
            entityIdColumns = entityIdColumns ?: throw PulumiNullFieldException("entityIdColumns"),
            uri = uri ?: throw PulumiNullFieldException("uri"),
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy