![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.cloudflare.kotlin.inputs.PagesProjectSourceArgs.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.PagesProjectSourceArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property config Configuration for the source of the Cloudflare Pages project.
* @property type Project host type.
*/
public data class PagesProjectSourceArgs(
public val config: Output? = null,
public val type: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.cloudflare.inputs.PagesProjectSourceArgs =
com.pulumi.cloudflare.inputs.PagesProjectSourceArgs.builder()
.config(config?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.type(type?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [PagesProjectSourceArgs].
*/
@PulumiTagMarker
public class PagesProjectSourceArgsBuilder internal constructor() {
private var config: Output? = null
private var type: Output? = null
/**
* @param value Configuration for the source of the Cloudflare Pages project.
*/
@JvmName("mcslwmnjeujeakaq")
public suspend fun config(`value`: Output) {
this.config = value
}
/**
* @param value Project host type.
*/
@JvmName("bikrkkfqcrdvwinp")
public suspend fun type(`value`: Output) {
this.type = value
}
/**
* @param value Configuration for the source of the Cloudflare Pages project.
*/
@JvmName("galoyguupegerwjm")
public suspend fun config(`value`: PagesProjectSourceConfigArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.config = mapped
}
/**
* @param argument Configuration for the source of the Cloudflare Pages project.
*/
@JvmName("sadjcshbevqtjxaq")
public suspend fun config(argument: suspend PagesProjectSourceConfigArgsBuilder.() -> Unit) {
val toBeMapped = PagesProjectSourceConfigArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.config = mapped
}
/**
* @param value Project host type.
*/
@JvmName("gjjolksuustkybnm")
public suspend fun type(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.type = mapped
}
internal fun build(): PagesProjectSourceArgs = PagesProjectSourceArgs(
config = config,
type = type,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy