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

com.pulumi.awsnative.kinesisanalyticsv2.kotlin.inputs.ApplicationEnvironmentPropertiesArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.kinesisanalyticsv2.kotlin.inputs

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

/**
 * Describes execution properties for a Flink-based Kinesis Data Analytics application.
 * @property propertyGroups Describes the execution property groups.
 */
public data class ApplicationEnvironmentPropertiesArgs(
    public val propertyGroups: Output>? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.kinesisanalyticsv2.inputs.ApplicationEnvironmentPropertiesArgs =
        com.pulumi.awsnative.kinesisanalyticsv2.inputs.ApplicationEnvironmentPropertiesArgs.builder()
            .propertyGroups(
                propertyGroups?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            ).build()
}

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

    /**
     * @param value Describes the execution property groups.
     */
    @JvmName("rwpnagjiwgcpmxld")
    public suspend fun propertyGroups(`value`: Output>) {
        this.propertyGroups = value
    }

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

    /**
     * @param values Describes the execution property groups.
     */
    @JvmName("ahbqlgfsrvahedtb")
    public suspend fun propertyGroups(values: List>) {
        this.propertyGroups = Output.all(values)
    }

    /**
     * @param value Describes the execution property groups.
     */
    @JvmName("rfhxkeatwlgtbeui")
    public suspend fun propertyGroups(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.propertyGroups = mapped
    }

    /**
     * @param argument Describes the execution property groups.
     */
    @JvmName("buydmkcfppoemclh")
    public suspend fun propertyGroups(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            ApplicationPropertyGroupArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.propertyGroups = mapped
    }

    /**
     * @param argument Describes the execution property groups.
     */
    @JvmName("xqdqkkthbkxmsjly")
    public suspend fun propertyGroups(vararg argument: suspend ApplicationPropertyGroupArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            ApplicationPropertyGroupArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.propertyGroups = mapped
    }

    /**
     * @param argument Describes the execution property groups.
     */
    @JvmName("mrmxhkuqtloerrxt")
    public suspend fun propertyGroups(argument: suspend ApplicationPropertyGroupArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            ApplicationPropertyGroupArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.propertyGroups = mapped
    }

    /**
     * @param values Describes the execution property groups.
     */
    @JvmName("hnwhqscrpvivywca")
    public suspend fun propertyGroups(vararg values: ApplicationPropertyGroupArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.propertyGroups = mapped
    }

    internal fun build(): ApplicationEnvironmentPropertiesArgs = ApplicationEnvironmentPropertiesArgs(
        propertyGroups = propertyGroups,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy