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

com.pulumi.googlenative.datalabeling.v1beta1.kotlin.DatasetArgs.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.

The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.googlenative.datalabeling.v1beta1.kotlin

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.googlenative.datalabeling.v1beta1.DatasetArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * Creates dataset. If success return a Dataset resource.
 * Auto-naming is currently not supported for this resource.
 * @property description Optional. User-provided description of the annotation specification set. The description can be up to 10000 characters long.
 * @property displayName The display name of the dataset. Maximum of 64 characters.
 * @property lastMigrateTime Last time that the Dataset is migrated to AI Platform V2. If any of the AnnotatedDataset is migrated, the last_migration_time in Dataset is also updated.
 * @property project
 */
public data class DatasetArgs(
    public val description: Output? = null,
    public val displayName: Output? = null,
    public val lastMigrateTime: Output? = null,
    public val project: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.googlenative.datalabeling.v1beta1.DatasetArgs =
        com.pulumi.googlenative.datalabeling.v1beta1.DatasetArgs.builder()
            .description(description?.applyValue({ args0 -> args0 }))
            .displayName(displayName?.applyValue({ args0 -> args0 }))
            .lastMigrateTime(lastMigrateTime?.applyValue({ args0 -> args0 }))
            .project(project?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [DatasetArgs].
 */
@PulumiTagMarker
public class DatasetArgsBuilder internal constructor() {
    private var description: Output? = null

    private var displayName: Output? = null

    private var lastMigrateTime: Output? = null

    private var project: Output? = null

    /**
     * @param value Optional. User-provided description of the annotation specification set. The description can be up to 10000 characters long.
     */
    @JvmName("vafbqwtpfgbyfamr")
    public suspend fun description(`value`: Output) {
        this.description = value
    }

    /**
     * @param value The display name of the dataset. Maximum of 64 characters.
     */
    @JvmName("twnwrlcsxtunryrr")
    public suspend fun displayName(`value`: Output) {
        this.displayName = value
    }

    /**
     * @param value Last time that the Dataset is migrated to AI Platform V2. If any of the AnnotatedDataset is migrated, the last_migration_time in Dataset is also updated.
     */
    @JvmName("ksbdbdvogqrggofm")
    public suspend fun lastMigrateTime(`value`: Output) {
        this.lastMigrateTime = value
    }

    /**
     * @param value
     */
    @JvmName("bbwwebfuoaqfserk")
    public suspend fun project(`value`: Output) {
        this.project = value
    }

    /**
     * @param value Optional. User-provided description of the annotation specification set. The description can be up to 10000 characters long.
     */
    @JvmName("cekoofuotltfmtub")
    public suspend fun description(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.description = mapped
    }

    /**
     * @param value The display name of the dataset. Maximum of 64 characters.
     */
    @JvmName("xrlbvpvbccbnnpyd")
    public suspend fun displayName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.displayName = mapped
    }

    /**
     * @param value Last time that the Dataset is migrated to AI Platform V2. If any of the AnnotatedDataset is migrated, the last_migration_time in Dataset is also updated.
     */
    @JvmName("fmkxdopfcamlfivs")
    public suspend fun lastMigrateTime(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.lastMigrateTime = mapped
    }

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

    internal fun build(): DatasetArgs = DatasetArgs(
        description = description,
        displayName = displayName,
        lastMigrateTime = lastMigrateTime,
        project = project,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy