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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MessageReviewHandler.BuilderfallbackResult(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.BuilderfallbackResult(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.Builderuri(String uri)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
uri
MessageReviewHandler.Builder uri(String 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.
-
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,FallbackResult
-
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:
FallbackResult,FallbackResult
-
-