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

com.pulumi.gcp.appengine.kotlin.inputs.StandardAppVersionDeploymentFileArgs.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.StandardAppVersionDeploymentFileArgs.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 StandardAppVersionDeploymentFileArgs(
    public val name: Output,
    public val sha1Sum: Output? = null,
    public val sourceUrl: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.appengine.inputs.StandardAppVersionDeploymentFileArgs =
        com.pulumi.gcp.appengine.inputs.StandardAppVersionDeploymentFileArgs.builder()
            .name(name.applyValue({ args0 -> args0 }))
            .sha1Sum(sha1Sum?.applyValue({ args0 -> args0 }))
            .sourceUrl(sourceUrl.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [StandardAppVersionDeploymentFileArgs].
 */
@PulumiTagMarker
public class StandardAppVersionDeploymentFileArgsBuilder 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("umtqadgfuhbqxlok")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

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

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

    /**
     * @param value The identifier for this object. Format specified above.
     */
    @JvmName("qtlgwgwlbuyoitje")
    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("fepeoljklygxwfrs")
    public suspend fun sha1Sum(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.sha1Sum = mapped
    }

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy