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

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

/**
 *
 * @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),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy