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

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

/**
 *
 * @property featureGroups List of features that need to be synced to Online Store.
 * Structure is documented below.
 */
public data class AiFeatureOnlineStoreFeatureviewFeatureRegistrySourceArgs(
    public val featureGroups: Output>,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.vertex.inputs.AiFeatureOnlineStoreFeatureviewFeatureRegistrySourceArgs =
        com.pulumi.gcp.vertex.inputs.AiFeatureOnlineStoreFeatureviewFeatureRegistrySourceArgs.builder()
            .featureGroups(
                featureGroups.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            ).build()
}

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

    /**
     * @param value List of features that need to be synced to Online Store.
     * Structure is documented below.
     */
    @JvmName("htiaukmlkwqmqvqa")
    public suspend fun featureGroups(`value`: Output>) {
        this.featureGroups = value
    }

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

    /**
     * @param values List of features that need to be synced to Online Store.
     * Structure is documented below.
     */
    @JvmName("ksueqxuwellbpvtq")
    public suspend fun featureGroups(values: List>) {
        this.featureGroups = Output.all(values)
    }

    /**
     * @param value List of features that need to be synced to Online Store.
     * Structure is documented below.
     */
    @JvmName("luwfvivxntsdtixf")
    public suspend fun featureGroups(`value`: List) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.featureGroups = mapped
    }

    /**
     * @param argument List of features that need to be synced to Online Store.
     * Structure is documented below.
     */
    @JvmName("kextspxmpxtgpryg")
    public suspend fun featureGroups(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            AiFeatureOnlineStoreFeatureviewFeatureRegistrySourceFeatureGroupArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.featureGroups = mapped
    }

    /**
     * @param argument List of features that need to be synced to Online Store.
     * Structure is documented below.
     */
    @JvmName("wusxwbyamgaomrsb")
    public suspend fun featureGroups(vararg argument: suspend AiFeatureOnlineStoreFeatureviewFeatureRegistrySourceFeatureGroupArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            AiFeatureOnlineStoreFeatureviewFeatureRegistrySourceFeatureGroupArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.featureGroups = mapped
    }

    /**
     * @param argument List of features that need to be synced to Online Store.
     * Structure is documented below.
     */
    @JvmName("gjkgqvgeyrrbtkvm")
    public suspend fun featureGroups(argument: suspend AiFeatureOnlineStoreFeatureviewFeatureRegistrySourceFeatureGroupArgsBuilder.() -> Unit) {
        val toBeMapped =
            listOf(
                AiFeatureOnlineStoreFeatureviewFeatureRegistrySourceFeatureGroupArgsBuilder().applySuspend
                    { argument() }.build(),
            )
        val mapped = of(toBeMapped)
        this.featureGroups = mapped
    }

    /**
     * @param values List of features that need to be synced to Online Store.
     * Structure is documented below.
     */
    @JvmName("srrrsdyriwffggrk")
    public suspend fun featureGroups(vararg values: AiFeatureOnlineStoreFeatureviewFeatureRegistrySourceFeatureGroupArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.featureGroups = mapped
    }

    internal fun build(): AiFeatureOnlineStoreFeatureviewFeatureRegistrySourceArgs =
        AiFeatureOnlineStoreFeatureviewFeatureRegistrySourceArgs(
            featureGroups = featureGroups ?: throw PulumiNullFieldException("featureGroups"),
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy