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

com.pulumi.gcp.vertex.kotlin.inputs.AiFeatureOnlineStoreFeatureviewFeatureRegistrySourceFeatureGroupArgs.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.AiFeatureOnlineStoreFeatureviewFeatureRegistrySourceFeatureGroupArgs.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 featureGroupId Identifier of the feature group.
 * @property featureIds Identifiers of features under the feature group.
 */
public data class AiFeatureOnlineStoreFeatureviewFeatureRegistrySourceFeatureGroupArgs(
    public val featureGroupId: Output,
    public val featureIds: Output>,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.vertex.inputs.AiFeatureOnlineStoreFeatureviewFeatureRegistrySourceFeatureGroupArgs =
        com.pulumi.gcp.vertex.inputs.AiFeatureOnlineStoreFeatureviewFeatureRegistrySourceFeatureGroupArgs.builder()
            .featureGroupId(featureGroupId.applyValue({ args0 -> args0 }))
            .featureIds(featureIds.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

/**
 * Builder for [AiFeatureOnlineStoreFeatureviewFeatureRegistrySourceFeatureGroupArgs].
 */
@PulumiTagMarker
public class AiFeatureOnlineStoreFeatureviewFeatureRegistrySourceFeatureGroupArgsBuilder internal constructor() {
    private var featureGroupId: Output? = null

    private var featureIds: Output>? = null

    /**
     * @param value Identifier of the feature group.
     */
    @JvmName("wimkswmkyygnkkyg")
    public suspend fun featureGroupId(`value`: Output) {
        this.featureGroupId = value
    }

    /**
     * @param value Identifiers of features under the feature group.
     */
    @JvmName("ipxhsrxpfbqxjblg")
    public suspend fun featureIds(`value`: Output>) {
        this.featureIds = value
    }

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

    /**
     * @param values Identifiers of features under the feature group.
     */
    @JvmName("llofudqvhspdcqjn")
    public suspend fun featureIds(values: List>) {
        this.featureIds = Output.all(values)
    }

    /**
     * @param value Identifier of the feature group.
     */
    @JvmName("aukkuewmtyrxkiyj")
    public suspend fun featureGroupId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.featureGroupId = mapped
    }

    /**
     * @param value Identifiers of features under the feature group.
     */
    @JvmName("yrqlrklfcjshynqh")
    public suspend fun featureIds(`value`: List) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.featureIds = mapped
    }

    /**
     * @param values Identifiers of features under the feature group.
     */
    @JvmName("jwayvqfmbflekkdc")
    public suspend fun featureIds(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.featureIds = mapped
    }

    internal fun build(): AiFeatureOnlineStoreFeatureviewFeatureRegistrySourceFeatureGroupArgs =
        AiFeatureOnlineStoreFeatureviewFeatureRegistrySourceFeatureGroupArgs(
            featureGroupId = featureGroupId ?: throw PulumiNullFieldException("featureGroupId"),
            featureIds = featureIds ?: throw PulumiNullFieldException("featureIds"),
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy