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

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

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.appengine.inputs.FlexibleAppVersionDeploymentFileArgs.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 name The identifier for this object. Format specified above.
 * @property sha1Sum SHA1 checksum of the file
 * @property sourceUrl Source URL
 */
public data class FlexibleAppVersionDeploymentFileArgs(
    public val name: Output,
    public val sha1Sum: Output? = null,
    public val sourceUrl: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.appengine.inputs.FlexibleAppVersionDeploymentFileArgs =
        com.pulumi.gcp.appengine.inputs.FlexibleAppVersionDeploymentFileArgs.builder()
            .name(name.applyValue({ args0 -> args0 }))
            .sha1Sum(sha1Sum?.applyValue({ args0 -> args0 }))
            .sourceUrl(sourceUrl.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [FlexibleAppVersionDeploymentFileArgs].
 */
@PulumiTagMarker
public class FlexibleAppVersionDeploymentFileArgsBuilder internal constructor() {
    private var name: Output? = null

    private var sha1Sum: Output? = null

    private var sourceUrl: Output? = null

    /**
     * @param value The identifier for this object. Format specified above.
     */
    @JvmName("andwobdmunvsapvr")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value SHA1 checksum of the file
     */
    @JvmName("gsbdpmrexuackeky")
    public suspend fun sha1Sum(`value`: Output) {
        this.sha1Sum = value
    }

    /**
     * @param value Source URL
     */
    @JvmName("lochntiojumaetkd")
    public suspend fun sourceUrl(`value`: Output) {
        this.sourceUrl = value
    }

    /**
     * @param value The identifier for this object. Format specified above.
     */
    @JvmName("cobrssksxdkubxsf")
    public suspend fun name(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value SHA1 checksum of the file
     */
    @JvmName("grvrgaxkeraxdury")
    public suspend fun sha1Sum(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.sha1Sum = mapped
    }

    /**
     * @param value Source URL
     */
    @JvmName("nsgdtajwtgfolkie")
    public suspend fun sourceUrl(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.sourceUrl = mapped
    }

    internal fun build(): FlexibleAppVersionDeploymentFileArgs = FlexibleAppVersionDeploymentFileArgs(
        name = name ?: throw PulumiNullFieldException("name"),
        sha1Sum = sha1Sum,
        sourceUrl = sourceUrl ?: throw PulumiNullFieldException("sourceUrl"),
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy