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

com.pulumi.gcp.appengine.kotlin.inputs.FlexibleAppVersionEntrypointArgs.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.appengine.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.appengine.inputs.FlexibleAppVersionEntrypointArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property shell The format should be a shell command that can be fed to bash -c.
 */
public data class FlexibleAppVersionEntrypointArgs(
    public val shell: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.appengine.inputs.FlexibleAppVersionEntrypointArgs =
        com.pulumi.gcp.appengine.inputs.FlexibleAppVersionEntrypointArgs.builder()
            .shell(shell.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [FlexibleAppVersionEntrypointArgs].
 */
@PulumiTagMarker
public class FlexibleAppVersionEntrypointArgsBuilder internal constructor() {
    private var shell: Output? = null

    /**
     * @param value The format should be a shell command that can be fed to bash -c.
     */
    @JvmName("eontlepyheiikegu")
    public suspend fun shell(`value`: Output) {
        this.shell = value
    }

    /**
     * @param value The format should be a shell command that can be fed to bash -c.
     */
    @JvmName("dfagmhasrcglxcoq")
    public suspend fun shell(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.shell = mapped
    }

    internal fun build(): FlexibleAppVersionEntrypointArgs = FlexibleAppVersionEntrypointArgs(
        shell = shell ?: throw PulumiNullFieldException("shell"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy