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

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

package com.pulumi.gcp.gkehub.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.gkehub.inputs.FeatureSpecFleetobservabilityArgs.builder
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 loggingConfig Specified if fleet logging feature is enabled for the entire fleet. If UNSPECIFIED, fleet logging feature is disabled for the entire fleet.
 * Structure is documented below.
 */
public data class FeatureSpecFleetobservabilityArgs(
    public val loggingConfig: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.gkehub.inputs.FeatureSpecFleetobservabilityArgs =
        com.pulumi.gcp.gkehub.inputs.FeatureSpecFleetobservabilityArgs.builder()
            .loggingConfig(loggingConfig?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [FeatureSpecFleetobservabilityArgs].
 */
@PulumiTagMarker
public class FeatureSpecFleetobservabilityArgsBuilder internal constructor() {
    private var loggingConfig: Output? = null

    /**
     * @param value Specified if fleet logging feature is enabled for the entire fleet. If UNSPECIFIED, fleet logging feature is disabled for the entire fleet.
     * Structure is documented below.
     */
    @JvmName("pqfnaydwdaejyovl")
    public suspend fun loggingConfig(`value`: Output) {
        this.loggingConfig = value
    }

    /**
     * @param value Specified if fleet logging feature is enabled for the entire fleet. If UNSPECIFIED, fleet logging feature is disabled for the entire fleet.
     * Structure is documented below.
     */
    @JvmName("fvxaqrgsmtcmbtrm")
    public suspend fun loggingConfig(`value`: FeatureSpecFleetobservabilityLoggingConfigArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.loggingConfig = mapped
    }

    /**
     * @param argument Specified if fleet logging feature is enabled for the entire fleet. If UNSPECIFIED, fleet logging feature is disabled for the entire fleet.
     * Structure is documented below.
     */
    @JvmName("xqqxrbnbyifmfkgh")
    public suspend fun loggingConfig(argument: suspend FeatureSpecFleetobservabilityLoggingConfigArgsBuilder.() -> Unit) {
        val toBeMapped = FeatureSpecFleetobservabilityLoggingConfigArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.loggingConfig = mapped
    }

    internal fun build(): FeatureSpecFleetobservabilityArgs = FeatureSpecFleetobservabilityArgs(
        loggingConfig = loggingConfig,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy