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

com.pulumi.cloudflare.kotlin.outputs.GetRulesetsRulesetRuleActionParametersEdgeTtl.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.

The 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.
 * @property statusCodeTtls Edge TTL for the status codes.
 */
public data class GetRulesetsRulesetRuleActionParametersEdgeTtl(
    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.GetRulesetsRulesetRuleActionParametersEdgeTtl): GetRulesetsRulesetRuleActionParametersEdgeTtl =
            GetRulesetsRulesetRuleActionParametersEdgeTtl(
                default = javaType.default_().map({ args0 -> args0 }).orElse(null),
                mode = javaType.mode(),
                statusCodeTtls = javaType.statusCodeTtls().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.cloudflare.kotlin.outputs.GetRulesetsRulesetRuleActionParametersEdgeTtlStatusCodeTtl.Companion.toKotlin(args0)
                    })
                }),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy