public static interface MessageReviewHandler.Builder extends SdkPojo, CopyableBuilder<MessageReviewHandler.Builder,MessageReviewHandler>
| Modifier and Type | Method and Description |
|---|---|
MessageReviewHandler.Builder |
fallbackResult(FallbackResult 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.
|
MessageReviewHandler.Builder |
fallbackResult(String 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.
|
MessageReviewHandler.Builder |
uri(String uri)
Identifier of the message review handler.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildMessageReviewHandler.Builder fallbackResult(String 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.
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.FallbackResult,
FallbackResultMessageReviewHandler.Builder fallbackResult(FallbackResult 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.
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.FallbackResult,
FallbackResultMessageReviewHandler.Builder uri(String uri)
Identifier of the message review handler. Currently this must be an ARN of a lambda function.
uri - Identifier of the message review handler. Currently this must be an ARN of a lambda function.Copyright © 2023. All rights reserved.