@Generated(value="software.amazon.awssdk:codegen") public final class InvokedBy extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InvokedBy.Builder,InvokedBy>
Specifies the type of message that triggers a bot.
| Modifier and Type | Class and Description |
|---|---|
static interface |
InvokedBy.Builder |
| Modifier and Type | Method and Description |
|---|---|
static InvokedBy.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends InvokedBy.Builder> |
serializableBuilderClass() |
StandardMessages |
standardMessages()
Sets standard messages as the bot trigger.
|
String |
standardMessagesAsString()
Sets standard messages as the bot trigger.
|
TargetedMessages |
targetedMessages()
Sets targeted messages as the bot trigger.
|
String |
targetedMessagesAsString()
Sets targeted messages as the bot trigger.
|
InvokedBy.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final StandardMessages standardMessages()
Sets standard messages as the bot trigger. For standard messages:
ALL: The bot processes all standard messages.
AUTO: The bot responds to ALL messages when the channel has one other non-hidden member, and
responds to MENTIONS when the channel has more than one other non-hidden member.
MENTIONS: The bot processes all standard messages that have a message attribute with
CHIME.mentions and a value of the bot ARN.
NONE: The bot processes no standard messages.
If the service returns an enum value that is not available in the current SDK version, standardMessages
will return StandardMessages.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from standardMessagesAsString().
ALL: The bot processes all standard messages.
AUTO: The bot responds to ALL messages when the channel has one other non-hidden member, and
responds to MENTIONS when the channel has more than one other non-hidden member.
MENTIONS: The bot processes all standard messages that have a message attribute with
CHIME.mentions and a value of the bot ARN.
NONE: The bot processes no standard messages.
StandardMessagespublic final String standardMessagesAsString()
Sets standard messages as the bot trigger. For standard messages:
ALL: The bot processes all standard messages.
AUTO: The bot responds to ALL messages when the channel has one other non-hidden member, and
responds to MENTIONS when the channel has more than one other non-hidden member.
MENTIONS: The bot processes all standard messages that have a message attribute with
CHIME.mentions and a value of the bot ARN.
NONE: The bot processes no standard messages.
If the service returns an enum value that is not available in the current SDK version, standardMessages
will return StandardMessages.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from standardMessagesAsString().
ALL: The bot processes all standard messages.
AUTO: The bot responds to ALL messages when the channel has one other non-hidden member, and
responds to MENTIONS when the channel has more than one other non-hidden member.
MENTIONS: The bot processes all standard messages that have a message attribute with
CHIME.mentions and a value of the bot ARN.
NONE: The bot processes no standard messages.
StandardMessagespublic final TargetedMessages targetedMessages()
Sets targeted messages as the bot trigger. For targeted messages:
ALL: The bot processes all TargetedMessages sent to it. The bot then responds with a
targeted message back to the sender.
NONE: The bot processes no targeted messages.
If the service returns an enum value that is not available in the current SDK version, targetedMessages
will return TargetedMessages.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from targetedMessagesAsString().
ALL: The bot processes all TargetedMessages sent to it. The bot then responds
with a targeted message back to the sender.
NONE: The bot processes no targeted messages.
TargetedMessagespublic final String targetedMessagesAsString()
Sets targeted messages as the bot trigger. For targeted messages:
ALL: The bot processes all TargetedMessages sent to it. The bot then responds with a
targeted message back to the sender.
NONE: The bot processes no targeted messages.
If the service returns an enum value that is not available in the current SDK version, targetedMessages
will return TargetedMessages.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from targetedMessagesAsString().
ALL: The bot processes all TargetedMessages sent to it. The bot then responds
with a targeted message back to the sender.
NONE: The bot processes no targeted messages.
TargetedMessagespublic InvokedBy.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<InvokedBy.Builder,InvokedBy>public static InvokedBy.Builder builder()
public static Class<? extends InvokedBy.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.