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

com.pulumi.azurenative.machinelearningservices.kotlin.inputs.FeaturesetVersionArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.machinelearningservices.kotlin.inputs

import com.pulumi.azurenative.machinelearningservices.inputs.FeaturesetVersionArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.collections.Map
import kotlin.jvm.JvmName

/**
 * Dto object representing feature set version
 * @property autoDeleteSetting Specifies the lifecycle setting of managed data asset.
 * @property description The asset description text.
 * @property entities Specifies list of entities
 * @property isAnonymous If the name version are system generated (anonymous registration). For types where Stage is defined, when Stage is provided it will be used to populate IsAnonymous
 * @property isArchived Is the asset archived? For types where Stage is defined, when Stage is provided it will be used to populate IsArchived
 * @property materializationSettings Specifies the materialization settings
 * @property properties The asset property dictionary.
 * @property specification Specifies the feature spec details
 * @property stage Specifies the asset stage
 * @property tags Tag dictionary. Tags can be added, removed, and updated.
 */
public data class FeaturesetVersionArgs(
    public val autoDeleteSetting: Output? = null,
    public val description: Output? = null,
    public val entities: Output>? = null,
    public val isAnonymous: Output? = null,
    public val isArchived: Output? = null,
    public val materializationSettings: Output? = null,
    public val properties: Output>? = null,
    public val specification: Output? = null,
    public val stage: Output? = null,
    public val tags: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.machinelearningservices.inputs.FeaturesetVersionArgs = com.pulumi.azurenative.machinelearningservices.inputs.FeaturesetVersionArgs.builder()
        .autoDeleteSetting(autoDeleteSetting?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
        .description(description?.applyValue({ args0 -> args0 }))
        .entities(entities?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
        .isAnonymous(isAnonymous?.applyValue({ args0 -> args0 }))
        .isArchived(isArchived?.applyValue({ args0 -> args0 }))
        .materializationSettings(
            materializationSettings?.applyValue({ args0 ->
                args0.let({ args0 ->
                    args0.toJava()
                })
            }),
        )
        .properties(
            properties?.applyValue({ args0 ->
                args0.map({ args0 ->
                    args0.key.to(args0.value)
                }).toMap()
            }),
        )
        .specification(specification?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
        .stage(stage?.applyValue({ args0 -> args0 }))
        .tags(
            tags?.applyValue({ args0 ->
                args0.map({ args0 ->
                    args0.key.to(args0.value)
                }).toMap()
            }),
        ).build()
}

/**
 * Builder for [FeaturesetVersionArgs].
 */
@PulumiTagMarker
public class FeaturesetVersionArgsBuilder internal constructor() {
    private var autoDeleteSetting: Output? = null

    private var description: Output? = null

    private var entities: Output>? = null

    private var isAnonymous: Output? = null

    private var isArchived: Output? = null

    private var materializationSettings: Output? = null

    private var properties: Output>? = null

    private var specification: Output? = null

    private var stage: Output? = null

    private var tags: Output>? = null

    /**
     * @param value Specifies the lifecycle setting of managed data asset.
     */
    @JvmName("xqedybfsogpmpceu")
    public suspend fun autoDeleteSetting(`value`: Output) {
        this.autoDeleteSetting = value
    }

    /**
     * @param value The asset description text.
     */
    @JvmName("ogwaxagicfglpong")
    public suspend fun description(`value`: Output) {
        this.description = value
    }

    /**
     * @param value Specifies list of entities
     */
    @JvmName("rcfjnfmlrsgjiowk")
    public suspend fun entities(`value`: Output>) {
        this.entities = value
    }

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

    /**
     * @param values Specifies list of entities
     */
    @JvmName("fqxbtnjubrfsbfdq")
    public suspend fun entities(values: List>) {
        this.entities = Output.all(values)
    }

    /**
     * @param value If the name version are system generated (anonymous registration). For types where Stage is defined, when Stage is provided it will be used to populate IsAnonymous
     */
    @JvmName("jfqdoiefiffuwqhh")
    public suspend fun isAnonymous(`value`: Output) {
        this.isAnonymous = value
    }

    /**
     * @param value Is the asset archived? For types where Stage is defined, when Stage is provided it will be used to populate IsArchived
     */
    @JvmName("cpaacwyggcphinte")
    public suspend fun isArchived(`value`: Output) {
        this.isArchived = value
    }

    /**
     * @param value Specifies the materialization settings
     */
    @JvmName("oufytitsgvveyprw")
    public suspend fun materializationSettings(`value`: Output) {
        this.materializationSettings = value
    }

    /**
     * @param value The asset property dictionary.
     */
    @JvmName("lwfacyxdvguelepa")
    public suspend fun properties(`value`: Output>) {
        this.properties = value
    }

    /**
     * @param value Specifies the feature spec details
     */
    @JvmName("bmbklogyhragigla")
    public suspend fun specification(`value`: Output) {
        this.specification = value
    }

    /**
     * @param value Specifies the asset stage
     */
    @JvmName("lhceilxfuguvduwj")
    public suspend fun stage(`value`: Output) {
        this.stage = value
    }

    /**
     * @param value Tag dictionary. Tags can be added, removed, and updated.
     */
    @JvmName("lftjqdxbmkqlfpql")
    public suspend fun tags(`value`: Output>) {
        this.tags = value
    }

    /**
     * @param value Specifies the lifecycle setting of managed data asset.
     */
    @JvmName("hgtkaqegkfvafdgo")
    public suspend fun autoDeleteSetting(`value`: AutoDeleteSettingArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.autoDeleteSetting = mapped
    }

    /**
     * @param argument Specifies the lifecycle setting of managed data asset.
     */
    @JvmName("xkefpgxffbyiaotl")
    public suspend fun autoDeleteSetting(argument: suspend AutoDeleteSettingArgsBuilder.() -> Unit) {
        val toBeMapped = AutoDeleteSettingArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.autoDeleteSetting = mapped
    }

    /**
     * @param value The asset description text.
     */
    @JvmName("yurtvxuesysdfewc")
    public suspend fun description(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.description = mapped
    }

    /**
     * @param value Specifies list of entities
     */
    @JvmName("kuwlijtiolttcwpk")
    public suspend fun entities(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.entities = mapped
    }

    /**
     * @param values Specifies list of entities
     */
    @JvmName("bppqnosdyxsonjyc")
    public suspend fun entities(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.entities = mapped
    }

    /**
     * @param value If the name version are system generated (anonymous registration). For types where Stage is defined, when Stage is provided it will be used to populate IsAnonymous
     */
    @JvmName("cwgsmbjnsodeyutu")
    public suspend fun isAnonymous(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.isAnonymous = mapped
    }

    /**
     * @param value Is the asset archived? For types where Stage is defined, when Stage is provided it will be used to populate IsArchived
     */
    @JvmName("iuhpepxefkhrjudw")
    public suspend fun isArchived(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.isArchived = mapped
    }

    /**
     * @param value Specifies the materialization settings
     */
    @JvmName("jjkdiyevdsgrxjhf")
    public suspend fun materializationSettings(`value`: MaterializationSettingsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.materializationSettings = mapped
    }

    /**
     * @param argument Specifies the materialization settings
     */
    @JvmName("bpjdjrojousdxppe")
    public suspend fun materializationSettings(argument: suspend MaterializationSettingsArgsBuilder.() -> Unit) {
        val toBeMapped = MaterializationSettingsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.materializationSettings = mapped
    }

    /**
     * @param value The asset property dictionary.
     */
    @JvmName("dhyqmquskpfiljvq")
    public suspend fun properties(`value`: Map?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.properties = mapped
    }

    /**
     * @param values The asset property dictionary.
     */
    @JvmName("vuakflgynidqfkxo")
    public fun properties(vararg values: Pair) {
        val toBeMapped = values.toMap()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.properties = mapped
    }

    /**
     * @param value Specifies the feature spec details
     */
    @JvmName("bxrvpxfjkirgvikj")
    public suspend fun specification(`value`: FeaturesetSpecificationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.specification = mapped
    }

    /**
     * @param argument Specifies the feature spec details
     */
    @JvmName("betcvlbiitfhkdlt")
    public suspend fun specification(argument: suspend FeaturesetSpecificationArgsBuilder.() -> Unit) {
        val toBeMapped = FeaturesetSpecificationArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.specification = mapped
    }

    /**
     * @param value Specifies the asset stage
     */
    @JvmName("nufxiftfbkwiasmw")
    public suspend fun stage(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.stage = mapped
    }

    /**
     * @param value Tag dictionary. Tags can be added, removed, and updated.
     */
    @JvmName("tobcisdgqrqgbdcj")
    public suspend fun tags(`value`: Map?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    /**
     * @param values Tag dictionary. Tags can be added, removed, and updated.
     */
    @JvmName("rwgregjgehvpogps")
    public fun tags(vararg values: Pair) {
        val toBeMapped = values.toMap()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    internal fun build(): FeaturesetVersionArgs = FeaturesetVersionArgs(
        autoDeleteSetting = autoDeleteSetting,
        description = description,
        entities = entities,
        isAnonymous = isAnonymous,
        isArchived = isArchived,
        materializationSettings = materializationSettings,
        properties = properties,
        specification = specification,
        stage = stage,
        tags = tags,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy