All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.cloudflare.kotlin.outputs.RulesetRuleActionParametersEdgeTtl.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 5.47.0.0
Show newest version
@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