com.pulumi.cloudflare.kotlin.outputs.PagesProjectBuildConfig.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.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.cloudflare.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
/**
*
* @property buildCaching Enable build caching for the project.
* @property buildCommand Command used to build project.
* @property destinationDir Output directory of the build.
* @property rootDir Your project's root directory, where Cloudflare runs the build command. If your site is not in a subdirectory, leave this path value empty.
* @property webAnalyticsTag The classifying tag for analytics.
* @property webAnalyticsToken The auth token for analytics.
*/
public data class PagesProjectBuildConfig(
public val buildCaching: Boolean? = null,
public val buildCommand: String? = null,
public val destinationDir: String? = null,
public val rootDir: String? = null,
public val webAnalyticsTag: String? = null,
public val webAnalyticsToken: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.cloudflare.outputs.PagesProjectBuildConfig): PagesProjectBuildConfig = PagesProjectBuildConfig(
buildCaching = javaType.buildCaching().map({ args0 -> args0 }).orElse(null),
buildCommand = javaType.buildCommand().map({ args0 -> args0 }).orElse(null),
destinationDir = javaType.destinationDir().map({ args0 -> args0 }).orElse(null),
rootDir = javaType.rootDir().map({ args0 -> args0 }).orElse(null),
webAnalyticsTag = javaType.webAnalyticsTag().map({ args0 -> args0 }).orElse(null),
webAnalyticsToken = javaType.webAnalyticsToken().map({ args0 -> args0 }).orElse(null),
)
}
}