![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.cloudflare.kotlin.outputs.RulesetRuleActionParametersEdgeTtl.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.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property default Default edge TTL.
* @property mode Mode of the edge TTL. Available values: `override_origin`, `respect_origin`, `bypass_by_default`
* @property statusCodeTtls Edge TTL for the status codes.
*/
public data class RulesetRuleActionParametersEdgeTtl(
public val default: Int? = null,
public val mode: String,
public val statusCodeTtls: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.cloudflare.outputs.RulesetRuleActionParametersEdgeTtl): RulesetRuleActionParametersEdgeTtl = RulesetRuleActionParametersEdgeTtl(
default = javaType.default_().map({ args0 -> args0 }).orElse(null),
mode = javaType.mode(),
statusCodeTtls = javaType.statusCodeTtls().map({ args0 ->
args0.let({ args0 ->
com.pulumi.cloudflare.kotlin.outputs.RulesetRuleActionParametersEdgeTtlStatusCodeTtl.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy