/* * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ package com.amazonaws.services.chimesdkidentity.model; import java.io.Serializable; /** *
* Specifies the type of message that triggers a bot. *
*/ public class InvokedBy implements Serializable { /** ** 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.
*
* Constraints:
* Allowed Values: AUTO, ALL, MENTIONS, NONE
*/
private String standardMessages;
/**
*
* 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.
*
* Constraints:
* Allowed Values: ALL, NONE
*/
private String targetedMessages;
/**
*
* 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.
*
* Constraints:
* Allowed Values: AUTO, ALL, MENTIONS, NONE
*
* @return
* 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.
*
* 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.
*
* Constraints:
* Allowed Values: AUTO, ALL, MENTIONS, NONE
*
* @param 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.
*
* 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.
*
* Returns a reference to this object so that method calls can be chained * together. *
* Constraints:
* Allowed Values: AUTO, ALL, MENTIONS, NONE
*
* @param 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.
*
* 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.
*
* Constraints:
* Allowed Values: AUTO, ALL, MENTIONS, NONE
*
* @param 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.
*
* 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.
*
* Returns a reference to this object so that method calls can be chained * together. *
* Constraints:
* Allowed Values: AUTO, ALL, MENTIONS, NONE
*
* @param 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.
*
* 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.
*
* Constraints:
* Allowed Values: ALL, NONE
*
* @return
* 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.
*
* 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.
*
* Constraints:
* Allowed Values: ALL, NONE
*
* @param 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.
*
* 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.
*
* Returns a reference to this object so that method calls can be chained * together. *
* Constraints:
* Allowed Values: ALL, NONE
*
* @param 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.
*
* 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.
*
* Constraints:
* Allowed Values: ALL, NONE
*
* @param 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.
*
* 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.
*
* Returns a reference to this object so that method calls can be chained * together. *
* Constraints:
* Allowed Values: ALL, NONE
*
* @param 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.
*