Class CfnRoomProps.Builder
java.lang.Object
software.amazon.awscdk.services.ivschat.CfnRoomProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRoomProps>
- Enclosing interface:
CfnRoomProps
@Stability(Stable)
public static final class CfnRoomProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRoomProps>
A builder for
CfnRoomProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.loggingConfigurationIdentifiers(List<String> loggingConfigurationIdentifiers) Sets the value ofCfnRoomProps.getLoggingConfigurationIdentifiers()maximumMessageLength(Number maximumMessageLength) Sets the value ofCfnRoomProps.getMaximumMessageLength()maximumMessageRatePerSecond(Number maximumMessageRatePerSecond) Sets the value ofCfnRoomProps.getMaximumMessageRatePerSecond()messageReviewHandler(IResolvable messageReviewHandler) Sets the value ofCfnRoomProps.getMessageReviewHandler()messageReviewHandler(CfnRoom.MessageReviewHandlerProperty messageReviewHandler) Sets the value ofCfnRoomProps.getMessageReviewHandler()Sets the value ofCfnRoomProps.getName()Sets the value ofCfnRoomProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
loggingConfigurationIdentifiers
@Stability(Stable) public CfnRoomProps.Builder loggingConfigurationIdentifiers(List<String> loggingConfigurationIdentifiers) Sets the value ofCfnRoomProps.getLoggingConfigurationIdentifiers()- Parameters:
loggingConfigurationIdentifiers- List of logging-configuration identifiers attached to the room.- Returns:
this
-
maximumMessageLength
Sets the value ofCfnRoomProps.getMaximumMessageLength()- Parameters:
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.- Returns:
this
-
maximumMessageRatePerSecond
@Stability(Stable) public CfnRoomProps.Builder maximumMessageRatePerSecond(Number maximumMessageRatePerSecond) Sets the value ofCfnRoomProps.getMaximumMessageRatePerSecond()- Parameters:
maximumMessageRatePerSecond- Maximum number of messages per second that can be sent to the room (by all clients).- Returns:
this
-
messageReviewHandler
@Stability(Stable) public CfnRoomProps.Builder messageReviewHandler(IResolvable messageReviewHandler) Sets the value ofCfnRoomProps.getMessageReviewHandler()- Parameters:
messageReviewHandler- Configuration information for optional review of messages.- Returns:
this
-
messageReviewHandler
@Stability(Stable) public CfnRoomProps.Builder messageReviewHandler(CfnRoom.MessageReviewHandlerProperty messageReviewHandler) Sets the value ofCfnRoomProps.getMessageReviewHandler()- Parameters:
messageReviewHandler- Configuration information for optional review of messages.- Returns:
this
-
name
Sets the value ofCfnRoomProps.getName()- Parameters:
name- Room name. The value does not need to be unique.- Returns:
this
-
tags
Sets the value ofCfnRoomProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to this resource. For more information, see Tag .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRoomProps>- Returns:
- a new instance of
CfnRoomProps - Throws:
NullPointerException- if any required attribute was not provided
-