Interface MessageReviewHandler.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<MessageReviewHandler.Builder,
,MessageReviewHandler> SdkBuilder<MessageReviewHandler.Builder,
,MessageReviewHandler> SdkPojo
- Enclosing class:
MessageReviewHandler
-
Method Summary
Modifier and TypeMethodDescriptionfallbackResult
(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.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.Identifier of the message review handler.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
.- 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:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
.- 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:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
uri
Identifier of the message review handler. Currently this must be an ARN of a lambda function.
- Parameters:
uri
- Identifier of the message review handler. Currently this must be an ARN of a lambda function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-