Class CfnRoomMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ivschat.CfnRoomMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRoomMixinProps>
- Enclosing interface:
CfnRoomMixinProps
@Stability(Stable)
public static final class CfnRoomMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRoomMixinProps>
A builder for
CfnRoomMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.loggingConfigurationIdentifiers(List<? extends Object> loggingConfigurationIdentifiers) Sets the value ofCfnRoomMixinProps.getLoggingConfigurationIdentifiers()maximumMessageLength(Number maximumMessageLength) Sets the value ofCfnRoomMixinProps.getMaximumMessageLength()maximumMessageRatePerSecond(Number maximumMessageRatePerSecond) Sets the value ofCfnRoomMixinProps.getMaximumMessageRatePerSecond()messageReviewHandler(CfnRoomPropsMixin.MessageReviewHandlerProperty messageReviewHandler) Sets the value ofCfnRoomMixinProps.getMessageReviewHandler()messageReviewHandler(IResolvable messageReviewHandler) Sets the value ofCfnRoomMixinProps.getMessageReviewHandler()Sets the value ofCfnRoomMixinProps.getName()Sets the value ofCfnRoomMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
loggingConfigurationIdentifiers
@Stability(Stable) public CfnRoomMixinProps.Builder loggingConfigurationIdentifiers(List<? extends Object> loggingConfigurationIdentifiers) Sets the value ofCfnRoomMixinProps.getLoggingConfigurationIdentifiers()- Parameters:
loggingConfigurationIdentifiers- List of logging-configuration identifiers attached to the room.- Returns:
this
-
maximumMessageLength
@Stability(Stable) public CfnRoomMixinProps.Builder maximumMessageLength(Number maximumMessageLength) Sets the value ofCfnRoomMixinProps.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 CfnRoomMixinProps.Builder maximumMessageRatePerSecond(Number maximumMessageRatePerSecond) Sets the value ofCfnRoomMixinProps.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 CfnRoomMixinProps.Builder messageReviewHandler(IResolvable messageReviewHandler) Sets the value ofCfnRoomMixinProps.getMessageReviewHandler()- Parameters:
messageReviewHandler- Configuration information for optional review of messages.- Returns:
this
-
messageReviewHandler
@Stability(Stable) public CfnRoomMixinProps.Builder messageReviewHandler(CfnRoomPropsMixin.MessageReviewHandlerProperty messageReviewHandler) Sets the value ofCfnRoomMixinProps.getMessageReviewHandler()- Parameters:
messageReviewHandler- Configuration information for optional review of messages.- Returns:
this
-
name
Sets the value ofCfnRoomMixinProps.getName()- Parameters:
name- Room name. The value does not need to be unique.- Returns:
this
-
tags
Sets the value ofCfnRoomMixinProps.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<CfnRoomMixinProps>- Returns:
- a new instance of
CfnRoomMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-