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

com.pulumi.gcp.container.kotlin.inputs.AwsClusterLoggingConfigComponentConfigArgs.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: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.container.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.container.inputs.AwsClusterLoggingConfigComponentConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property enableComponents Components of the logging configuration to be enabled.
 */
public data class AwsClusterLoggingConfigComponentConfigArgs(
    public val enableComponents: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.container.inputs.AwsClusterLoggingConfigComponentConfigArgs = com.pulumi.gcp.container.inputs.AwsClusterLoggingConfigComponentConfigArgs.builder()
        .enableComponents(enableComponents?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

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

    /**
     * @param value Components of the logging configuration to be enabled.
     */
    @JvmName("wfbaaxlbnwksggme")
    public suspend fun enableComponents(`value`: Output>) {
        this.enableComponents = value
    }

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

    /**
     * @param values Components of the logging configuration to be enabled.
     */
    @JvmName("aavoqogdltmuorwl")
    public suspend fun enableComponents(values: List>) {
        this.enableComponents = Output.all(values)
    }

    /**
     * @param value Components of the logging configuration to be enabled.
     */
    @JvmName("rfexpedoyhvvtltp")
    public suspend fun enableComponents(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.enableComponents = mapped
    }

    /**
     * @param values Components of the logging configuration to be enabled.
     */
    @JvmName("goaxnddjxjwfcivg")
    public suspend fun enableComponents(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.enableComponents = mapped
    }

    internal fun build(): AwsClusterLoggingConfigComponentConfigArgs =
        AwsClusterLoggingConfigComponentConfigArgs(
            enableComponents = enableComponents,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy