com.pulumi.cloudflare.kotlin.outputs.PagesProjectDeploymentConfigs.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.outputs
import kotlin.Suppress
/**
*
* @property preview Configuration for preview deploys.
* @property production Configuration for production deploys.
*/
public data class PagesProjectDeploymentConfigs(
public val preview: PagesProjectDeploymentConfigsPreview? = null,
public val production: PagesProjectDeploymentConfigsProduction? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.cloudflare.outputs.PagesProjectDeploymentConfigs): PagesProjectDeploymentConfigs = PagesProjectDeploymentConfigs(
preview = javaType.preview().map({ args0 ->
args0.let({ args0 ->
com.pulumi.cloudflare.kotlin.outputs.PagesProjectDeploymentConfigsPreview.Companion.toKotlin(args0)
})
}).orElse(null),
production = javaType.production().map({ args0 ->
args0.let({ args0 ->
com.pulumi.cloudflare.kotlin.outputs.PagesProjectDeploymentConfigsProduction.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}