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

com.pulumi.cloudflare.kotlin.outputs.HyperdriveConfigCaching.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.Boolean
import kotlin.Int
import kotlin.Suppress

/**
 *
 * @property disabled Disable caching for this Hyperdrive configuration.
 * @property maxAge Configure the `max_age` value of this Hyperdrive configuration.
 * @property staleWhileRevalidate Disable caching for this Hyperdrive configuration.
 */
public data class HyperdriveConfigCaching(
    public val disabled: Boolean? = null,
    public val maxAge: Int? = null,
    public val staleWhileRevalidate: Int? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.cloudflare.outputs.HyperdriveConfigCaching): HyperdriveConfigCaching = HyperdriveConfigCaching(
            disabled = javaType.disabled().map({ args0 -> args0 }).orElse(null),
            maxAge = javaType.maxAge().map({ args0 -> args0 }).orElse(null),
            staleWhileRevalidate = javaType.staleWhileRevalidate().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy