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

com.pulumi.awsnative.databrew.kotlin.inputs.JobStatisticsConfigurationArgs.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.databrew.kotlin.inputs

import com.pulumi.awsnative.databrew.inputs.JobStatisticsConfigurationArgs.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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property includedStatistics List of included evaluations. When the list is undefined, all supported evaluations will be included.
 * @property overrides List of overrides for evaluations.
 */
public data class JobStatisticsConfigurationArgs(
    public val includedStatistics: Output>? = null,
    public val overrides: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.databrew.inputs.JobStatisticsConfigurationArgs =
        com.pulumi.awsnative.databrew.inputs.JobStatisticsConfigurationArgs.builder()
            .includedStatistics(includedStatistics?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .overrides(
                overrides?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            ).build()
}

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

    private var overrides: Output>? = null

    /**
     * @param value List of included evaluations. When the list is undefined, all supported evaluations will be included.
     */
    @JvmName("fuyradmitpcxcxwl")
    public suspend fun includedStatistics(`value`: Output>) {
        this.includedStatistics = value
    }

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

    /**
     * @param values List of included evaluations. When the list is undefined, all supported evaluations will be included.
     */
    @JvmName("obyuobpxjomlppun")
    public suspend fun includedStatistics(values: List>) {
        this.includedStatistics = Output.all(values)
    }

    /**
     * @param value List of overrides for evaluations.
     */
    @JvmName("oppneasjmfyaphjf")
    public suspend fun overrides(`value`: Output>) {
        this.overrides = value
    }

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

    /**
     * @param values List of overrides for evaluations.
     */
    @JvmName("aaqnpjxudgphtkdd")
    public suspend fun overrides(values: List>) {
        this.overrides = Output.all(values)
    }

    /**
     * @param value List of included evaluations. When the list is undefined, all supported evaluations will be included.
     */
    @JvmName("gygulgsggmafjbnc")
    public suspend fun includedStatistics(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.includedStatistics = mapped
    }

    /**
     * @param values List of included evaluations. When the list is undefined, all supported evaluations will be included.
     */
    @JvmName("ovuabcbkjtemanvv")
    public suspend fun includedStatistics(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.includedStatistics = mapped
    }

    /**
     * @param value List of overrides for evaluations.
     */
    @JvmName("tjrbmrvthyqurhcn")
    public suspend fun overrides(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.overrides = mapped
    }

    /**
     * @param argument List of overrides for evaluations.
     */
    @JvmName("jwclvptsaqebrjbk")
    public suspend fun overrides(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            JobStatisticOverrideArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.overrides = mapped
    }

    /**
     * @param argument List of overrides for evaluations.
     */
    @JvmName("aduetbvcqkunkdhc")
    public suspend fun overrides(vararg argument: suspend JobStatisticOverrideArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            JobStatisticOverrideArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.overrides = mapped
    }

    /**
     * @param argument List of overrides for evaluations.
     */
    @JvmName("nthpuwuokppomgps")
    public suspend fun overrides(argument: suspend JobStatisticOverrideArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(JobStatisticOverrideArgsBuilder().applySuspend { argument() }.build())
        val mapped = of(toBeMapped)
        this.overrides = mapped
    }

    /**
     * @param values List of overrides for evaluations.
     */
    @JvmName("cagnonjmdlevddal")
    public suspend fun overrides(vararg values: JobStatisticOverrideArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.overrides = mapped
    }

    internal fun build(): JobStatisticsConfigurationArgs = JobStatisticsConfigurationArgs(
        includedStatistics = includedStatistics,
        overrides = overrides,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy