
com.pulumi.awsnative.ivschat.kotlin.outputs.RoomMessageReviewHandler.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.awsnative.ivschat.kotlin.outputs
import com.pulumi.awsnative.ivschat.kotlin.enums.RoomMessageReviewHandlerFallbackResult
import kotlin.String
import kotlin.Suppress
/**
* Configuration information for optional review of messages.
* @property fallbackResult Specifies the fallback behavior if the handler does not return a valid response, encounters an error, or times out.
* @property uri Identifier of the message review handler.
*/
public data class RoomMessageReviewHandler(
public val fallbackResult: RoomMessageReviewHandlerFallbackResult? = null,
public val uri: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.ivschat.outputs.RoomMessageReviewHandler): RoomMessageReviewHandler = RoomMessageReviewHandler(
fallbackResult = javaType.fallbackResult().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.ivschat.kotlin.enums.RoomMessageReviewHandlerFallbackResult.Companion.toKotlin(args0)
})
}).orElse(null),
uri = javaType.uri().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy