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

com.pulumi.gcp.appengine.kotlin.inputs.FlexibleAppVersionDeploymentCloudBuildOptionsArgs.kt Maven / Gradle / Ivy

@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.FlexibleAppVersionDeploymentCloudBuildOptionsArgs.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 appYamlPath Path to the yaml file used in deployment, used to determine runtime configuration details.
 * @property cloudBuildTimeout The Cloud Build timeout used as part of any dependent builds performed by version creation. Defaults to 10 minutes.
 * A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
 */
public data class FlexibleAppVersionDeploymentCloudBuildOptionsArgs(
    public val appYamlPath: Output,
    public val cloudBuildTimeout: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.appengine.inputs.FlexibleAppVersionDeploymentCloudBuildOptionsArgs =
        com.pulumi.gcp.appengine.inputs.FlexibleAppVersionDeploymentCloudBuildOptionsArgs.builder()
            .appYamlPath(appYamlPath.applyValue({ args0 -> args0 }))
            .cloudBuildTimeout(cloudBuildTimeout?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [FlexibleAppVersionDeploymentCloudBuildOptionsArgs].
 */
@PulumiTagMarker
public class FlexibleAppVersionDeploymentCloudBuildOptionsArgsBuilder internal constructor() {
    private var appYamlPath: Output? = null

    private var cloudBuildTimeout: Output? = null

    /**
     * @param value Path to the yaml file used in deployment, used to determine runtime configuration details.
     */
    @JvmName("ghmkjcfapxemxfuw")
    public suspend fun appYamlPath(`value`: Output) {
        this.appYamlPath = value
    }

    /**
     * @param value The Cloud Build timeout used as part of any dependent builds performed by version creation. Defaults to 10 minutes.
     * A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
     */
    @JvmName("qlipxojrbqmnjaqh")
    public suspend fun cloudBuildTimeout(`value`: Output) {
        this.cloudBuildTimeout = value
    }

    /**
     * @param value Path to the yaml file used in deployment, used to determine runtime configuration details.
     */
    @JvmName("ykycygmuhfoqsacy")
    public suspend fun appYamlPath(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.appYamlPath = mapped
    }

    /**
     * @param value The Cloud Build timeout used as part of any dependent builds performed by version creation. Defaults to 10 minutes.
     * A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
     */
    @JvmName("vupthdwmibdatmqs")
    public suspend fun cloudBuildTimeout(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.cloudBuildTimeout = mapped
    }

    internal fun build(): FlexibleAppVersionDeploymentCloudBuildOptionsArgs =
        FlexibleAppVersionDeploymentCloudBuildOptionsArgs(
            appYamlPath = appYamlPath ?: throw PulumiNullFieldException("appYamlPath"),
            cloudBuildTimeout = cloudBuildTimeout,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy