Interface MessageReviewHandler.Builder

All Superinterfaces:
Buildable, CopyableBuilder<MessageReviewHandler.Builder,MessageReviewHandler>, SdkBuilder<MessageReviewHandler.Builder,MessageReviewHandler>, SdkPojo
Enclosing class:
MessageReviewHandler

public static interface MessageReviewHandler.Builder extends SdkPojo, CopyableBuilder<MessageReviewHandler.Builder,MessageReviewHandler>
  • Method Details

    • fallbackResult

      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. (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

      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. (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.