Class CfnRoom.MessageReviewHandlerProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ivschat.CfnRoom.MessageReviewHandlerProperty.Builder
- All Implemented Interfaces:
- software.amazon.jsii.Builder<CfnRoom.MessageReviewHandlerProperty>
- Enclosing interface:
- CfnRoom.MessageReviewHandlerProperty
@Stability(Stable)
public static final class CfnRoom.MessageReviewHandlerProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRoom.MessageReviewHandlerProperty>
A builder for 
CfnRoom.MessageReviewHandlerProperty- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds the configured instance.fallbackResult(String fallbackResult) Sets the value ofCfnRoom.MessageReviewHandlerProperty.getFallbackResult()Sets the value ofCfnRoom.MessageReviewHandlerProperty.getUri()
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
fallbackResult@Stability(Stable) public CfnRoom.MessageReviewHandlerProperty.Builder fallbackResult(String fallbackResult) Sets the value ofCfnRoom.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
 
- 
uriSets the value ofCfnRoom.MessageReviewHandlerProperty.getUri()- Parameters:
- uri- Identifier of the message review handler. Currently this must be an ARN of a lambda function.
- Returns:
- this
 
- 
buildBuilds the configured instance.- Specified by:
- buildin interface- software.amazon.jsii.Builder<CfnRoom.MessageReviewHandlerProperty>
- Returns:
- a new instance of CfnRoom.MessageReviewHandlerProperty
- Throws:
- NullPointerException- if any required attribute was not provided
 
 
-