com.pulumi.cloudflare.kotlin.outputs.LoadBalancerRuleFixedResponse.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
/**
*
* @property contentType The value of the HTTP context-type header for this fixed response.
* @property location The value of the HTTP location header for this fixed response.
* @property messageBody The text used as the html body for this fixed response.
* @property statusCode The HTTP status code used for this fixed response.
*/
public data class LoadBalancerRuleFixedResponse(
public val contentType: String? = null,
public val location: String? = null,
public val messageBody: String? = null,
public val statusCode: Int? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.cloudflare.outputs.LoadBalancerRuleFixedResponse): LoadBalancerRuleFixedResponse = LoadBalancerRuleFixedResponse(
contentType = javaType.contentType().map({ args0 -> args0 }).orElse(null),
location = javaType.location().map({ args0 -> args0 }).orElse(null),
messageBody = javaType.messageBody().map({ args0 -> args0 }).orElse(null),
statusCode = javaType.statusCode().map({ args0 -> args0 }).orElse(null),
)
}
}