@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InvokedBy extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the type of message that triggers a bot.
| Constructor and Description |
|---|
InvokedBy() |
| Modifier and Type | Method and Description |
|---|---|
InvokedBy |
clone() |
boolean |
equals(Object obj) |
String |
getStandardMessages()
Sets standard messages as the bot trigger.
|
String |
getTargetedMessages()
Sets targeted messages as the bot trigger.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setStandardMessages(String standardMessages)
Sets standard messages as the bot trigger.
|
void |
setTargetedMessages(String targetedMessages)
Sets targeted messages as the bot trigger.
|
String |
toString()
Returns a string representation of this object.
|
InvokedBy |
withStandardMessages(StandardMessages standardMessages)
Sets standard messages as the bot trigger.
|
InvokedBy |
withStandardMessages(String standardMessages)
Sets standard messages as the bot trigger.
|
InvokedBy |
withTargetedMessages(String targetedMessages)
Sets targeted messages as the bot trigger.
|
InvokedBy |
withTargetedMessages(TargetedMessages targetedMessages)
Sets targeted messages as the bot trigger.
|
public void setStandardMessages(String 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.
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.
StandardMessagespublic String getStandardMessages()
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.
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 InvokedBy withStandardMessages(String 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.
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.
StandardMessagespublic InvokedBy withStandardMessages(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.
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.
StandardMessagespublic void setTargetedMessages(String 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.
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.
TargetedMessagespublic String getTargetedMessages()
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.
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 withTargetedMessages(String 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.
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.
TargetedMessagespublic InvokedBy withTargetedMessages(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.
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.
TargetedMessagespublic String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.