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

com.pulumi.googlenative.dataplex.v1.kotlin.DataTaxonomyArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.googlenative.dataplex.v1.kotlin

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.googlenative.dataplex.v1.DataTaxonomyArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
import kotlin.jvm.JvmName

/**
 * Create a DataTaxonomy resource.
 * Auto-naming is currently not supported for this resource.
 * @property dataTaxonomyId Required. DataTaxonomy identifier. * Must contain only lowercase letters, numbers and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the Project.
 * @property description Optional. Description of the DataTaxonomy.
 * @property displayName Optional. User friendly display name.
 * @property etag This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
 * @property labels Optional. User-defined labels for the DataTaxonomy.
 * @property location
 * @property project
 */
public data class DataTaxonomyArgs(
    public val dataTaxonomyId: Output? = null,
    public val description: Output? = null,
    public val displayName: Output? = null,
    public val etag: Output? = null,
    public val labels: Output>? = null,
    public val location: Output? = null,
    public val project: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.googlenative.dataplex.v1.DataTaxonomyArgs =
        com.pulumi.googlenative.dataplex.v1.DataTaxonomyArgs.builder()
            .dataTaxonomyId(dataTaxonomyId?.applyValue({ args0 -> args0 }))
            .description(description?.applyValue({ args0 -> args0 }))
            .displayName(displayName?.applyValue({ args0 -> args0 }))
            .etag(etag?.applyValue({ args0 -> args0 }))
            .labels(labels?.applyValue({ args0 -> args0.map({ args0 -> args0.key.to(args0.value) }).toMap() }))
            .location(location?.applyValue({ args0 -> args0 }))
            .project(project?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [DataTaxonomyArgs].
 */
@PulumiTagMarker
public class DataTaxonomyArgsBuilder internal constructor() {
    private var dataTaxonomyId: Output? = null

    private var description: Output? = null

    private var displayName: Output? = null

    private var etag: Output? = null

    private var labels: Output>? = null

    private var location: Output? = null

    private var project: Output? = null

    /**
     * @param value Required. DataTaxonomy identifier. * Must contain only lowercase letters, numbers and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the Project.
     */
    @JvmName("txsqehpbnraislxn")
    public suspend fun dataTaxonomyId(`value`: Output) {
        this.dataTaxonomyId = value
    }

    /**
     * @param value Optional. Description of the DataTaxonomy.
     */
    @JvmName("repdqfshrmaiwfjk")
    public suspend fun description(`value`: Output) {
        this.description = value
    }

    /**
     * @param value Optional. User friendly display name.
     */
    @JvmName("wefsnshvxudcgtdc")
    public suspend fun displayName(`value`: Output) {
        this.displayName = value
    }

    /**
     * @param value This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
     */
    @JvmName("rtefqoqbkivbvxuv")
    public suspend fun etag(`value`: Output) {
        this.etag = value
    }

    /**
     * @param value Optional. User-defined labels for the DataTaxonomy.
     */
    @JvmName("adjdxqfitgwnqsaf")
    public suspend fun labels(`value`: Output>) {
        this.labels = value
    }

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

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

    /**
     * @param value Required. DataTaxonomy identifier. * Must contain only lowercase letters, numbers and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the Project.
     */
    @JvmName("fqeebgplivjxutbg")
    public suspend fun dataTaxonomyId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.dataTaxonomyId = mapped
    }

    /**
     * @param value Optional. Description of the DataTaxonomy.
     */
    @JvmName("wqjqggrmyfbdyswr")
    public suspend fun description(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.description = mapped
    }

    /**
     * @param value Optional. User friendly display name.
     */
    @JvmName("oowruteqpsirmajg")
    public suspend fun displayName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.displayName = mapped
    }

    /**
     * @param value This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
     */
    @JvmName("yuftyaktmtbopdxf")
    public suspend fun etag(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.etag = mapped
    }

    /**
     * @param value Optional. User-defined labels for the DataTaxonomy.
     */
    @JvmName("uyijtvjnuydubhbt")
    public suspend fun labels(`value`: Map?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.labels = mapped
    }

    /**
     * @param values Optional. User-defined labels for the DataTaxonomy.
     */
    @JvmName("vugaihmbbowyllnm")
    public fun labels(vararg values: Pair) {
        val toBeMapped = values.toMap()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.labels = mapped
    }

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

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

    internal fun build(): DataTaxonomyArgs = DataTaxonomyArgs(
        dataTaxonomyId = dataTaxonomyId,
        description = description,
        displayName = displayName,
        etag = etag,
        labels = labels,
        location = location,
        project = project,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy