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

com.pulumi.gcp.dataplex.kotlin.inputs.DatascanDataProfileSpecIncludeFieldsArgs.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.dataplex.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.dataplex.inputs.DatascanDataProfileSpecIncludeFieldsArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property fieldNames Expected input is a list of fully qualified names of fields as in the schema.
 * Only top-level field names for nested fields are supported.
 * For instance, if 'x' is of nested field type, listing 'x' is supported but 'x.y.z' is not supported. Here 'y' and 'y.z' are nested fields of 'x'.
 */
public data class DatascanDataProfileSpecIncludeFieldsArgs(
    public val fieldNames: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.dataplex.inputs.DatascanDataProfileSpecIncludeFieldsArgs =
        com.pulumi.gcp.dataplex.inputs.DatascanDataProfileSpecIncludeFieldsArgs.builder()
            .fieldNames(fieldNames?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

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

    /**
     * @param value Expected input is a list of fully qualified names of fields as in the schema.
     * Only top-level field names for nested fields are supported.
     * For instance, if 'x' is of nested field type, listing 'x' is supported but 'x.y.z' is not supported. Here 'y' and 'y.z' are nested fields of 'x'.
     */
    @JvmName("hxmlnfoewwiuewth")
    public suspend fun fieldNames(`value`: Output>) {
        this.fieldNames = value
    }

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

    /**
     * @param values Expected input is a list of fully qualified names of fields as in the schema.
     * Only top-level field names for nested fields are supported.
     * For instance, if 'x' is of nested field type, listing 'x' is supported but 'x.y.z' is not supported. Here 'y' and 'y.z' are nested fields of 'x'.
     */
    @JvmName("akshlkkvkoqvaoyl")
    public suspend fun fieldNames(values: List>) {
        this.fieldNames = Output.all(values)
    }

    /**
     * @param value Expected input is a list of fully qualified names of fields as in the schema.
     * Only top-level field names for nested fields are supported.
     * For instance, if 'x' is of nested field type, listing 'x' is supported but 'x.y.z' is not supported. Here 'y' and 'y.z' are nested fields of 'x'.
     */
    @JvmName("punbquplwaqijeqw")
    public suspend fun fieldNames(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.fieldNames = mapped
    }

    /**
     * @param values Expected input is a list of fully qualified names of fields as in the schema.
     * Only top-level field names for nested fields are supported.
     * For instance, if 'x' is of nested field type, listing 'x' is supported but 'x.y.z' is not supported. Here 'y' and 'y.z' are nested fields of 'x'.
     */
    @JvmName("vikutyasfjhttrcm")
    public suspend fun fieldNames(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.fieldNames = mapped
    }

    internal fun build(): DatascanDataProfileSpecIncludeFieldsArgs =
        DatascanDataProfileSpecIncludeFieldsArgs(
            fieldNames = fieldNames,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy