Class CfnRoom.Builder
java.lang.Object
software.amazon.awscdk.services.ivschat.CfnRoom.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRoom>
- Enclosing class:
- CfnRoom
@Stability(Stable)
public static final class CfnRoom.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRoom>
A fluent builder for
CfnRoom.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnRoom.BuilderloggingConfigurationIdentifiers(List<String> loggingConfigurationIdentifiers) List of logging-configuration identifiers attached to the room.maximumMessageLength(Number maximumMessageLength) Maximum number of characters in a single message.maximumMessageRatePerSecond(Number maximumMessageRatePerSecond) Maximum number of messages per second that can be sent to the room (by all clients).messageReviewHandler(IResolvable messageReviewHandler) Configuration information for optional review of messages.messageReviewHandler(CfnRoom.MessageReviewHandlerProperty messageReviewHandler) Configuration information for optional review of messages.Room name.An array of key-value pairs to apply to this resource.
-
Method Details
-
create
- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
- Returns:
- a new instance of
CfnRoom.Builder.
-
loggingConfigurationIdentifiers
@Stability(Stable) public CfnRoom.Builder loggingConfigurationIdentifiers(List<String> loggingConfigurationIdentifiers) List of logging-configuration identifiers attached to the room.- Parameters:
loggingConfigurationIdentifiers- List of logging-configuration identifiers attached to the room. This parameter is required.- Returns:
this
-
maximumMessageLength
Maximum number of characters in a single message.Messages are expected to be UTF-8 encoded and this limit applies specifically to rune/code-point count, not number of bytes.
- Parameters:
maximumMessageLength- Maximum number of characters in a single message. This parameter is required.- Returns:
this
-
maximumMessageRatePerSecond
@Stability(Stable) public CfnRoom.Builder maximumMessageRatePerSecond(Number maximumMessageRatePerSecond) Maximum number of messages per second that can be sent to the room (by all clients).- Parameters:
maximumMessageRatePerSecond- Maximum number of messages per second that can be sent to the room (by all clients). This parameter is required.- Returns:
this
-
messageReviewHandler
Configuration information for optional review of messages.- Parameters:
messageReviewHandler- Configuration information for optional review of messages. This parameter is required.- Returns:
this
-
messageReviewHandler
@Stability(Stable) public CfnRoom.Builder messageReviewHandler(CfnRoom.MessageReviewHandlerProperty messageReviewHandler) Configuration information for optional review of messages.- Parameters:
messageReviewHandler- Configuration information for optional review of messages. This parameter is required.- Returns:
this
-
name
Room name.The value does not need to be unique.
- Parameters:
name- Room name. This parameter is required.- Returns:
this
-
tags
An array of key-value pairs to apply to this resource.For more information, see Tag .
- Parameters:
tags- An array of key-value pairs to apply to this resource. This parameter is required.- Returns:
this
-
build
-