Interface InvokedBy.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<InvokedBy.Builder,
,InvokedBy> SdkBuilder<InvokedBy.Builder,
,InvokedBy> SdkPojo
- Enclosing class:
InvokedBy
-
Method Summary
Modifier and TypeMethodDescriptionstandardMessages
(String standardMessages) Sets standard messages as the bot trigger.standardMessages
(StandardMessages standardMessages) Sets standard messages as the bot trigger.targetedMessages
(String targetedMessages) Sets targeted messages as the bot trigger.targetedMessages
(TargetedMessages targetedMessages) Sets targeted messages as the bot trigger.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 Details
-
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 withCHIME.mentions
and a value of the bot ARN. -
NONE
: The bot processes no standard messages.
- Parameters:
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 withCHIME.mentions
and a value of the bot ARN. -
NONE
: The bot processes no standard messages.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
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 withCHIME.mentions
and a value of the bot ARN. -
NONE
: The bot processes no standard messages.
- Parameters:
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 withCHIME.mentions
and a value of the bot ARN. -
NONE
: The bot processes no standard messages.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
targetedMessages
Sets targeted messages as the bot trigger. For targeted messages:
-
ALL
: The bot processes allTargetedMessages
sent to it. The bot then responds with a targeted message back to the sender. -
NONE
: The bot processes no targeted messages.
- Parameters:
targetedMessages
- Sets targeted messages as the bot trigger. For targeted messages:-
ALL
: The bot processes allTargetedMessages
sent to it. The bot then responds with a targeted message back to the sender. -
NONE
: The bot processes no targeted messages.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
targetedMessages
Sets targeted messages as the bot trigger. For targeted messages:
-
ALL
: The bot processes allTargetedMessages
sent to it. The bot then responds with a targeted message back to the sender. -
NONE
: The bot processes no targeted messages.
- Parameters:
targetedMessages
- Sets targeted messages as the bot trigger. For targeted messages:-
ALL
: The bot processes allTargetedMessages
sent to it. The bot then responds with a targeted message back to the sender. -
NONE
: The bot processes no targeted messages.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-