
com.pulumi.awsnative.ivschat.kotlin.outputs.GetRoomResult.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.kotlin.outputs.Tag
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property arn Room ARN is automatically generated on creation and assigned as the unique identifier.
* @property id The system-generated ID of the room.
* @property loggingConfigurationIdentifiers Array of logging configuration identifiers attached to the room.
* @property maximumMessageLength The maximum number of characters in a single message.
* @property maximumMessageRatePerSecond The maximum number of messages per second that can be sent to the room.
* @property messageReviewHandler Configuration information for optional review of messages.
* @property name The name of the room. The value does not need to be unique.
* @property tags An array of key-value pairs to apply to this resource.
*/
public data class GetRoomResult(
public val arn: String? = null,
public val id: String? = null,
public val loggingConfigurationIdentifiers: List? = null,
public val maximumMessageLength: Int? = null,
public val maximumMessageRatePerSecond: Int? = null,
public val messageReviewHandler: RoomMessageReviewHandler? = null,
public val name: String? = null,
public val tags: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.ivschat.outputs.GetRoomResult): GetRoomResult = GetRoomResult(
arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
id = javaType.id().map({ args0 -> args0 }).orElse(null),
loggingConfigurationIdentifiers = javaType.loggingConfigurationIdentifiers().map({ args0 ->
args0
}),
maximumMessageLength = javaType.maximumMessageLength().map({ args0 -> args0 }).orElse(null),
maximumMessageRatePerSecond = javaType.maximumMessageRatePerSecond().map({ args0 ->
args0
}).orElse(null),
messageReviewHandler = javaType.messageReviewHandler().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.ivschat.kotlin.outputs.RoomMessageReviewHandler.Companion.toKotlin(args0)
})
}).orElse(null),
name = javaType.name().map({ args0 -> args0 }).orElse(null),
tags = javaType.tags().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy