![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.apigateway.kotlin.enums.MethodIntegrationResponseContentHandling.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.apigateway.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* Specifies how to handle response payload content type conversions. Supported values are ``CONVERT_TO_BINARY`` and ``CONVERT_TO_TEXT``, with the following behaviors:
* If this property is not defined, the response payload will be passed through from the integration response to the method response without modification.
*/
public enum class MethodIntegrationResponseContentHandling(
public val javaValue: com.pulumi.awsnative.apigateway.enums.MethodIntegrationResponseContentHandling,
) :
ConvertibleToJava {
ConvertToBinary(com.pulumi.awsnative.apigateway.enums.MethodIntegrationResponseContentHandling.ConvertToBinary),
ConvertToText(com.pulumi.awsnative.apigateway.enums.MethodIntegrationResponseContentHandling.ConvertToText),
;
override fun toJava(): com.pulumi.awsnative.apigateway.enums.MethodIntegrationResponseContentHandling = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.apigateway.enums.MethodIntegrationResponseContentHandling): MethodIntegrationResponseContentHandling =
MethodIntegrationResponseContentHandling.values().first { it.javaValue == javaType }
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy