com.pulumi.cloudflare.kotlin.inputs.PagesProjectDeploymentConfigsProductionPlacementArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-cloudflare-kotlin Show documentation
Show all versions of pulumi-cloudflare-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.cloudflare.kotlin.inputs
import com.pulumi.cloudflare.inputs.PagesProjectDeploymentConfigsProductionPlacementArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property mode Placement Mode for the Pages Function.
*/
public data class PagesProjectDeploymentConfigsProductionPlacementArgs(
public val mode: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.cloudflare.inputs.PagesProjectDeploymentConfigsProductionPlacementArgs =
com.pulumi.cloudflare.inputs.PagesProjectDeploymentConfigsProductionPlacementArgs.builder()
.mode(mode?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [PagesProjectDeploymentConfigsProductionPlacementArgs].
*/
@PulumiTagMarker
public class PagesProjectDeploymentConfigsProductionPlacementArgsBuilder internal constructor() {
private var mode: Output? = null
/**
* @param value Placement Mode for the Pages Function.
*/
@JvmName("tmtuoedokdgcksse")
public suspend fun mode(`value`: Output) {
this.mode = value
}
/**
* @param value Placement Mode for the Pages Function.
*/
@JvmName("xqfckogrkeatuijs")
public suspend fun mode(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.mode = mapped
}
internal fun build(): PagesProjectDeploymentConfigsProductionPlacementArgs =
PagesProjectDeploymentConfigsProductionPlacementArgs(
mode = mode,
)
}