Class CfnRoomPropsMixin.MessageReviewHandlerProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ivschat.CfnRoomPropsMixin.MessageReviewHandlerProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRoomPropsMixin.MessageReviewHandlerProperty>
- Enclosing interface:
CfnRoomPropsMixin.MessageReviewHandlerProperty
@Stability(Stable)
public static final class CfnRoomPropsMixin.MessageReviewHandlerProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRoomPropsMixin.MessageReviewHandlerProperty>
A builder for
CfnRoomPropsMixin.MessageReviewHandlerProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.fallbackResult(String fallbackResult) Sets the value ofCfnRoomPropsMixin.MessageReviewHandlerProperty.getFallbackResult()Sets the value ofCfnRoomPropsMixin.MessageReviewHandlerProperty.getUri()uri(IFunctionRef uri) Sets the value ofCfnRoomPropsMixin.MessageReviewHandlerProperty.getUri()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fallbackResult
@Stability(Stable) public CfnRoomPropsMixin.MessageReviewHandlerProperty.Builder fallbackResult(String fallbackResult) Sets the value ofCfnRoomPropsMixin.MessageReviewHandlerProperty.getFallbackResult()- Parameters:
fallbackResult- Specifies the fallback behavior (whether the message is allowed or denied) if the handler does not return a valid response, encounters an error, or times out. (For the timeout period, see Service Quotas .) If allowed, the message is delivered with returned content to all users connected to the room. If denied, the message is not delivered to any user.Default :
ALLOW- Returns:
this
-
uri
Sets the value ofCfnRoomPropsMixin.MessageReviewHandlerProperty.getUri()- Parameters:
uri- Identifier of the message review handler. Currently this must be an ARN of a lambda function.- Returns:
this
-
uri
@Stability(Stable) public CfnRoomPropsMixin.MessageReviewHandlerProperty.Builder uri(IFunctionRef uri) Sets the value ofCfnRoomPropsMixin.MessageReviewHandlerProperty.getUri()- Parameters:
uri- Identifier of the message review handler. Currently this must be an ARN of a lambda function.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRoomPropsMixin.MessageReviewHandlerProperty>- Returns:
- a new instance of
CfnRoomPropsMixin.MessageReviewHandlerProperty - Throws:
NullPointerException- if any required attribute was not provided
-