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

com.pulumi.aws.kinesisanalyticsv2.kotlin.inputs.ApplicationApplicationConfigurationFlinkApplicationConfigurationArgs.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: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.kinesisanalyticsv2.kotlin.inputs

import com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationFlinkApplicationConfigurationArgs.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.jvm.JvmName

/**
 *
 * @property checkpointConfiguration Describes an application's checkpointing configuration.
 * @property monitoringConfiguration Describes configuration parameters for CloudWatch logging for an application.
 * @property parallelismConfiguration Describes parameters for how an application executes multiple tasks simultaneously.
 */
public data class ApplicationApplicationConfigurationFlinkApplicationConfigurationArgs(
    public val checkpointConfiguration: Output? =
        null,
    public val monitoringConfiguration: Output? =
        null,
    public val parallelismConfiguration: Output? =
        null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationFlinkApplicationConfigurationArgs =
        com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationFlinkApplicationConfigurationArgs.builder()
            .checkpointConfiguration(
                checkpointConfiguration?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .monitoringConfiguration(
                monitoringConfiguration?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .parallelismConfiguration(
                parallelismConfiguration?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            ).build()
}

/**
 * Builder for [ApplicationApplicationConfigurationFlinkApplicationConfigurationArgs].
 */
@PulumiTagMarker
public class ApplicationApplicationConfigurationFlinkApplicationConfigurationArgsBuilder internal constructor() {
    private var checkpointConfiguration:
        Output? =
        null

    private var monitoringConfiguration:
        Output? =
        null

    private var parallelismConfiguration:
        Output? =
        null

    /**
     * @param value Describes an application's checkpointing configuration.
     */
    @JvmName("emjvhpvfiaqddyxe")
    public suspend fun checkpointConfiguration(`value`: Output) {
        this.checkpointConfiguration = value
    }

    /**
     * @param value Describes configuration parameters for CloudWatch logging for an application.
     */
    @JvmName("irylpxphqccwbymg")
    public suspend fun monitoringConfiguration(`value`: Output) {
        this.monitoringConfiguration = value
    }

    /**
     * @param value Describes parameters for how an application executes multiple tasks simultaneously.
     */
    @JvmName("pmwqdfpshhpbtiuj")
    public suspend fun parallelismConfiguration(`value`: Output) {
        this.parallelismConfiguration = value
    }

    /**
     * @param value Describes an application's checkpointing configuration.
     */
    @JvmName("gcgpdohgkgwkihdb")
    public suspend fun checkpointConfiguration(`value`: ApplicationApplicationConfigurationFlinkApplicationConfigurationCheckpointConfigurationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.checkpointConfiguration = mapped
    }

    /**
     * @param argument Describes an application's checkpointing configuration.
     */
    @JvmName("qfpwlgxhpynowmxd")
    public suspend fun checkpointConfiguration(argument: suspend ApplicationApplicationConfigurationFlinkApplicationConfigurationCheckpointConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped =
            ApplicationApplicationConfigurationFlinkApplicationConfigurationCheckpointConfigurationArgsBuilder().applySuspend {
                argument()
            }.build()
        val mapped = of(toBeMapped)
        this.checkpointConfiguration = mapped
    }

    /**
     * @param value Describes configuration parameters for CloudWatch logging for an application.
     */
    @JvmName("rakdecvfwsqlbqwf")
    public suspend fun monitoringConfiguration(`value`: ApplicationApplicationConfigurationFlinkApplicationConfigurationMonitoringConfigurationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.monitoringConfiguration = mapped
    }

    /**
     * @param argument Describes configuration parameters for CloudWatch logging for an application.
     */
    @JvmName("wafpxyvidxyxiafr")
    public suspend fun monitoringConfiguration(argument: suspend ApplicationApplicationConfigurationFlinkApplicationConfigurationMonitoringConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped =
            ApplicationApplicationConfigurationFlinkApplicationConfigurationMonitoringConfigurationArgsBuilder().applySuspend {
                argument()
            }.build()
        val mapped = of(toBeMapped)
        this.monitoringConfiguration = mapped
    }

    /**
     * @param value Describes parameters for how an application executes multiple tasks simultaneously.
     */
    @JvmName("fkfghjfpfkdwpuvc")
    public suspend fun parallelismConfiguration(`value`: ApplicationApplicationConfigurationFlinkApplicationConfigurationParallelismConfigurationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.parallelismConfiguration = mapped
    }

    /**
     * @param argument Describes parameters for how an application executes multiple tasks simultaneously.
     */
    @JvmName("lphcwablemqaofmq")
    public suspend fun parallelismConfiguration(argument: suspend ApplicationApplicationConfigurationFlinkApplicationConfigurationParallelismConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped =
            ApplicationApplicationConfigurationFlinkApplicationConfigurationParallelismConfigurationArgsBuilder().applySuspend {
                argument()
            }.build()
        val mapped = of(toBeMapped)
        this.parallelismConfiguration = mapped
    }

    internal fun build(): ApplicationApplicationConfigurationFlinkApplicationConfigurationArgs =
        ApplicationApplicationConfigurationFlinkApplicationConfigurationArgs(
            checkpointConfiguration = checkpointConfiguration,
            monitoringConfiguration = monitoringConfiguration,
            parallelismConfiguration = parallelismConfiguration,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy