@Generated(value="software.amazon.awssdk:codegen") public final class MessageReviewHandler extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MessageReviewHandler.Builder,MessageReviewHandler>
Configuration information for optional message review.
| Modifier and Type | Class and Description |
|---|---|
static interface |
MessageReviewHandler.Builder |
| Modifier and Type | Method and Description |
|---|---|
static MessageReviewHandler.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
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.
|
String |
fallbackResultAsString()
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.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends MessageReviewHandler.Builder> |
serializableBuilderClass() |
MessageReviewHandler.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
uri()
Identifier of the message review handler.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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.
If the service returns an enum value that is not available in the current SDK version, fallbackResult
will return FallbackResult.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from fallbackResultAsString().
ALLOW.FallbackResultpublic final String fallbackResultAsString()
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.
If the service returns an enum value that is not available in the current SDK version, fallbackResult
will return FallbackResult.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from fallbackResultAsString().
ALLOW.FallbackResultpublic final String uri()
Identifier of the message review handler. Currently this must be an ARN of a lambda function.
public MessageReviewHandler.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<MessageReviewHandler.Builder,MessageReviewHandler>public static MessageReviewHandler.Builder builder()
public static Class<? extends MessageReviewHandler.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.