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

com.pulumi.googlenative.servicemanagement.v1.kotlin.inputs.CppSettingsArgs.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.

The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.googlenative.servicemanagement.v1.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.googlenative.servicemanagement.v1.inputs.CppSettingsArgs.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

/**
 * Settings for C++ client libraries.
 * @property common Some settings.
 */
public data class CppSettingsArgs(
    public val common: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.googlenative.servicemanagement.v1.inputs.CppSettingsArgs =
        com.pulumi.googlenative.servicemanagement.v1.inputs.CppSettingsArgs.builder()
            .common(common?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [CppSettingsArgs].
 */
@PulumiTagMarker
public class CppSettingsArgsBuilder internal constructor() {
    private var common: Output? = null

    /**
     * @param value Some settings.
     */
    @JvmName("xvvcfstkfxywnarv")
    public suspend fun common(`value`: Output) {
        this.common = value
    }

    /**
     * @param value Some settings.
     */
    @JvmName("brdxbtipvyxwieqn")
    public suspend fun common(`value`: CommonLanguageSettingsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.common = mapped
    }

    /**
     * @param argument Some settings.
     */
    @JvmName("hwhrlrekmshkkymx")
    public suspend fun common(argument: suspend CommonLanguageSettingsArgsBuilder.() -> Unit) {
        val toBeMapped = CommonLanguageSettingsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.common = mapped
    }

    internal fun build(): CppSettingsArgs = CppSettingsArgs(
        common = common,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy