com.pulumi.gcp.cloudfunctionsv2.kotlin.inputs.FunctionBuildConfigSourceStorageSourceArgs.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.cloudfunctionsv2.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.cloudfunctionsv2.inputs.FunctionBuildConfigSourceStorageSourceArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property bucket Google Cloud Storage bucket containing the source
* @property generation Google Cloud Storage generation for the object. If the generation
* is omitted, the latest generation will be used.
* @property object Google Cloud Storage object containing the source.
*/
public data class FunctionBuildConfigSourceStorageSourceArgs(
public val bucket: Output? = null,
public val generation: Output? = null,
public val `object`: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.cloudfunctionsv2.inputs.FunctionBuildConfigSourceStorageSourceArgs =
com.pulumi.gcp.cloudfunctionsv2.inputs.FunctionBuildConfigSourceStorageSourceArgs.builder()
.bucket(bucket?.applyValue({ args0 -> args0 }))
.generation(generation?.applyValue({ args0 -> args0 }))
.`object`(`object`?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [FunctionBuildConfigSourceStorageSourceArgs].
*/
@PulumiTagMarker
public class FunctionBuildConfigSourceStorageSourceArgsBuilder internal constructor() {
private var bucket: Output? = null
private var generation: Output? = null
private var `object`: Output? = null
/**
* @param value Google Cloud Storage bucket containing the source
*/
@JvmName("sxmrlodrrjnsacly")
public suspend fun bucket(`value`: Output) {
this.bucket = value
}
/**
* @param value Google Cloud Storage generation for the object. If the generation
* is omitted, the latest generation will be used.
*/
@JvmName("fskmdgrhhgwceprg")
public suspend fun generation(`value`: Output) {
this.generation = value
}
/**
* @param value Google Cloud Storage object containing the source.
*/
@JvmName("guwqwellklkkcevo")
public suspend fun `object`(`value`: Output) {
this.`object` = value
}
/**
* @param value Google Cloud Storage bucket containing the source
*/
@JvmName("ntyxvybyhljrtcpy")
public suspend fun bucket(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.bucket = mapped
}
/**
* @param value Google Cloud Storage generation for the object. If the generation
* is omitted, the latest generation will be used.
*/
@JvmName("ydclurpwwyvmvdql")
public suspend fun generation(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.generation = mapped
}
/**
* @param value Google Cloud Storage object containing the source.
*/
@JvmName("wrqispiiavifvfgi")
public suspend fun `object`(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.`object` = mapped
}
internal fun build(): FunctionBuildConfigSourceStorageSourceArgs =
FunctionBuildConfigSourceStorageSourceArgs(
bucket = bucket,
generation = generation,
`object` = `object`,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy