com.pulumi.gcp.firebase.kotlin.inputs.HostingVersionConfigRewriteRunArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.firebase.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.firebase.inputs.HostingVersionConfigRewriteRunArgs.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 region Optional. User-provided region where the Cloud Run service is hosted. Defaults to `us-central1` if not supplied.
* @property serviceId User-defined ID of the Cloud Run service.
*/
public data class HostingVersionConfigRewriteRunArgs(
public val region: Output? = null,
public val serviceId: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.firebase.inputs.HostingVersionConfigRewriteRunArgs =
com.pulumi.gcp.firebase.inputs.HostingVersionConfigRewriteRunArgs.builder()
.region(region?.applyValue({ args0 -> args0 }))
.serviceId(serviceId.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [HostingVersionConfigRewriteRunArgs].
*/
@PulumiTagMarker
public class HostingVersionConfigRewriteRunArgsBuilder internal constructor() {
private var region: Output? = null
private var serviceId: Output? = null
/**
* @param value Optional. User-provided region where the Cloud Run service is hosted. Defaults to `us-central1` if not supplied.
*/
@JvmName("ukefnkoxevqcbiql")
public suspend fun region(`value`: Output) {
this.region = value
}
/**
* @param value User-defined ID of the Cloud Run service.
*/
@JvmName("ipgdierggghcnimn")
public suspend fun serviceId(`value`: Output) {
this.serviceId = value
}
/**
* @param value Optional. User-provided region where the Cloud Run service is hosted. Defaults to `us-central1` if not supplied.
*/
@JvmName("muhxfoybdvcjnjvx")
public suspend fun region(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.region = mapped
}
/**
* @param value User-defined ID of the Cloud Run service.
*/
@JvmName("bdvltfjdmygdubno")
public suspend fun serviceId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.serviceId = mapped
}
internal fun build(): HostingVersionConfigRewriteRunArgs = HostingVersionConfigRewriteRunArgs(
region = region,
serviceId = serviceId ?: throw PulumiNullFieldException("serviceId"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy