com.pulumi.gcp.networkservices.kotlin.outputs.EdgeCacheOriginOriginOverrideAction.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.networkservices.kotlin.outputs
import kotlin.Suppress
/**
*
* @property headerAction The header actions, including adding and removing
* headers, for request handled by this origin.
* Structure is documented below.
* @property urlRewrite The URL rewrite configuration for request that are
* handled by this origin.
* Structure is documented below.
*/
public data class EdgeCacheOriginOriginOverrideAction(
public val headerAction: EdgeCacheOriginOriginOverrideActionHeaderAction? = null,
public val urlRewrite: EdgeCacheOriginOriginOverrideActionUrlRewrite? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.networkservices.outputs.EdgeCacheOriginOriginOverrideAction): EdgeCacheOriginOriginOverrideAction = EdgeCacheOriginOriginOverrideAction(
headerAction = javaType.headerAction().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.networkservices.kotlin.outputs.EdgeCacheOriginOriginOverrideActionHeaderAction.Companion.toKotlin(args0)
})
}).orElse(null),
urlRewrite = javaType.urlRewrite().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.networkservices.kotlin.outputs.EdgeCacheOriginOriginOverrideActionUrlRewrite.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy