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

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

package com.pulumi.awsnative.sagemaker.kotlin.inputs

import com.pulumi.awsnative.sagemaker.inputs.DataQualityJobDefinitionDatasetFormatArgs.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.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 * The dataset format of the data to monitor
 * @property csv
 * @property json
 * @property parquet
 */
public data class DataQualityJobDefinitionDatasetFormatArgs(
    public val csv: Output? = null,
    public val json: Output? = null,
    public val parquet: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.sagemaker.inputs.DataQualityJobDefinitionDatasetFormatArgs =
        com.pulumi.awsnative.sagemaker.inputs.DataQualityJobDefinitionDatasetFormatArgs.builder()
            .csv(csv?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .json(json?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .parquet(parquet?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [DataQualityJobDefinitionDatasetFormatArgs].
 */
@PulumiTagMarker
public class DataQualityJobDefinitionDatasetFormatArgsBuilder internal constructor() {
    private var csv: Output? = null

    private var json: Output? = null

    private var parquet: Output? = null

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

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

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

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

    /**
     * @param argument
     */
    @JvmName("ulhujwbfdgaagsod")
    public suspend fun csv(argument: suspend DataQualityJobDefinitionCsvArgsBuilder.() -> Unit) {
        val toBeMapped = DataQualityJobDefinitionCsvArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.csv = mapped
    }

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

    /**
     * @param argument
     */
    @JvmName("ayjkybonfgmkoqol")
    public suspend fun json(argument: suspend DataQualityJobDefinitionJsonArgsBuilder.() -> Unit) {
        val toBeMapped = DataQualityJobDefinitionJsonArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.json = mapped
    }

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

    internal fun build(): DataQualityJobDefinitionDatasetFormatArgs =
        DataQualityJobDefinitionDatasetFormatArgs(
            csv = csv,
            json = json,
            parquet = parquet,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy