com.pulumi.awsnative.ivschat.kotlin.RoomArgs.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
import com.pulumi.awsnative.ivschat.RoomArgs.builder
import com.pulumi.awsnative.ivschat.kotlin.inputs.RoomMessageReviewHandlerArgs
import com.pulumi.awsnative.ivschat.kotlin.inputs.RoomMessageReviewHandlerArgsBuilder
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Resource type definition for AWS::IVSChat::Room.
* ## Example Usage
* ### Example
* No Java example available.
* ### Example
* No Java example available.
* @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 RoomArgs(
public val loggingConfigurationIdentifiers: Output>? = null,
public val maximumMessageLength: Output? = null,
public val maximumMessageRatePerSecond: Output? = null,
public val messageReviewHandler: Output? = null,
public val name: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.ivschat.RoomArgs =
com.pulumi.awsnative.ivschat.RoomArgs.builder()
.loggingConfigurationIdentifiers(
loggingConfigurationIdentifiers?.applyValue({ args0 ->
args0.map({ args0 -> args0 })
}),
)
.maximumMessageLength(maximumMessageLength?.applyValue({ args0 -> args0 }))
.maximumMessageRatePerSecond(maximumMessageRatePerSecond?.applyValue({ args0 -> args0 }))
.messageReviewHandler(
messageReviewHandler?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.name(name?.applyValue({ args0 -> args0 }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [RoomArgs].
*/
@PulumiTagMarker
public class RoomArgsBuilder internal constructor() {
private var loggingConfigurationIdentifiers: Output>? = null
private var maximumMessageLength: Output? = null
private var maximumMessageRatePerSecond: Output? = null
private var messageReviewHandler: Output? = null
private var name: Output? = null
private var tags: Output>? = null
/**
* @param value Array of logging configuration identifiers attached to the room.
*/
@JvmName("aeilektoinjtirml")
public suspend fun loggingConfigurationIdentifiers(`value`: Output>) {
this.loggingConfigurationIdentifiers = value
}
@JvmName("ngoxwkkmbonqdfbl")
public suspend fun loggingConfigurationIdentifiers(vararg values: Output) {
this.loggingConfigurationIdentifiers = Output.all(values.asList())
}
/**
* @param values Array of logging configuration identifiers attached to the room.
*/
@JvmName("dstjiglklnpswwvg")
public suspend fun loggingConfigurationIdentifiers(values: List