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.Builder
loggingConfigurationIdentifiers
(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
@Stability(Stable) public static CfnRoom.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- 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
- See Also:
-
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.
Default: - 500
- Parameters:
maximumMessageLength
- Maximum number of characters in a single message. This parameter is required.- Returns:
this
- See Also:
-
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).Default: - 10
- Parameters:
maximumMessageRatePerSecond
- Maximum number of messages per second that can be sent to the room (by all clients). This parameter is required.- Returns:
this
- See Also:
-
messageReviewHandler
Configuration information for optional review of messages.- Parameters:
messageReviewHandler
- Configuration information for optional review of messages. This parameter is required.- Returns:
this
- See Also:
-
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
- See Also:
-
name
Room name.The value does not need to be unique.
- Parameters:
name
- Room name. This parameter is required.- Returns:
this
- See Also:
-
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
- See Also:
-
build
-