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

com.pulumi.awsnative.databrew.kotlin.inputs.RulesetColumnSelectorArgs.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: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.databrew.kotlin.inputs

import com.pulumi.awsnative.databrew.inputs.RulesetColumnSelectorArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * Selector of a column from a dataset for profile job configuration. One selector includes either a column name or a regular expression
 * @property name The name of a column from a dataset
 * @property regex A regular expression for selecting a column from a dataset
 */
public data class RulesetColumnSelectorArgs(
    public val name: Output? = null,
    public val regex: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.databrew.inputs.RulesetColumnSelectorArgs =
        com.pulumi.awsnative.databrew.inputs.RulesetColumnSelectorArgs.builder()
            .name(name?.applyValue({ args0 -> args0 }))
            .regex(regex?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [RulesetColumnSelectorArgs].
 */
@PulumiTagMarker
public class RulesetColumnSelectorArgsBuilder internal constructor() {
    private var name: Output? = null

    private var regex: Output? = null

    /**
     * @param value The name of a column from a dataset
     */
    @JvmName("bpxegrkmcjayallr")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value A regular expression for selecting a column from a dataset
     */
    @JvmName("fpnyukyutuglhgik")
    public suspend fun regex(`value`: Output) {
        this.regex = value
    }

    /**
     * @param value The name of a column from a dataset
     */
    @JvmName("nbqhcbxmddfhlxwg")
    public suspend fun name(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value A regular expression for selecting a column from a dataset
     */
    @JvmName("yrupfqyfxhgoxsxc")
    public suspend fun regex(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.regex = mapped
    }

    internal fun build(): RulesetColumnSelectorArgs = RulesetColumnSelectorArgs(
        name = name,
        regex = regex,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy