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

com.pulumi.alicloud.fc.kotlin.inputs.FunctionCustomContainerConfigArgs.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: 3.62.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.alicloud.fc.kotlin.inputs

import com.pulumi.alicloud.fc.inputs.FunctionCustomContainerConfigArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
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 args The args field specifies the arguments passed to the command.
 * @property command The entry point of the container, which specifies the actual command run by the container.
 * @property image The container image address.
 */
public data class FunctionCustomContainerConfigArgs(
    public val args: Output? = null,
    public val command: Output? = null,
    public val image: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.alicloud.fc.inputs.FunctionCustomContainerConfigArgs =
        com.pulumi.alicloud.fc.inputs.FunctionCustomContainerConfigArgs.builder()
            .args(args?.applyValue({ args0 -> args0 }))
            .command(command?.applyValue({ args0 -> args0 }))
            .image(image.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [FunctionCustomContainerConfigArgs].
 */
@PulumiTagMarker
public class FunctionCustomContainerConfigArgsBuilder internal constructor() {
    private var args: Output? = null

    private var command: Output? = null

    private var image: Output? = null

    /**
     * @param value The args field specifies the arguments passed to the command.
     */
    @JvmName("vcyvrqovjhsnixua")
    public suspend fun args(`value`: Output) {
        this.args = value
    }

    /**
     * @param value The entry point of the container, which specifies the actual command run by the container.
     */
    @JvmName("mimuuptulrthumnx")
    public suspend fun command(`value`: Output) {
        this.command = value
    }

    /**
     * @param value The container image address.
     */
    @JvmName("okvadmbjshrmrpvy")
    public suspend fun image(`value`: Output) {
        this.image = value
    }

    /**
     * @param value The args field specifies the arguments passed to the command.
     */
    @JvmName("qilqpgtgykahjgcu")
    public suspend fun args(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.args = mapped
    }

    /**
     * @param value The entry point of the container, which specifies the actual command run by the container.
     */
    @JvmName("dlluubydntfmrxfj")
    public suspend fun command(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.command = mapped
    }

    /**
     * @param value The container image address.
     */
    @JvmName("tibprlqswuyviynq")
    public suspend fun image(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.image = mapped
    }

    internal fun build(): FunctionCustomContainerConfigArgs = FunctionCustomContainerConfigArgs(
        args = args,
        command = command,
        image = image ?: throw PulumiNullFieldException("image"),
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy