Interface InvokedBy.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<InvokedBy.Builder,InvokedBy>,SdkBuilder<InvokedBy.Builder,InvokedBy>,SdkPojo
- Enclosing class:
- InvokedBy
public static interface InvokedBy.Builder extends SdkPojo, CopyableBuilder<InvokedBy.Builder,InvokedBy>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InvokedBy.BuilderstandardMessages(String standardMessages)Sets standard messages as the bot trigger.InvokedBy.BuilderstandardMessages(StandardMessages standardMessages)Sets standard messages as the bot trigger.InvokedBy.BuildertargetedMessages(String targetedMessages)Sets targeted messages as the bot trigger.InvokedBy.BuildertargetedMessages(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 Detail
-
standardMessages
InvokedBy.Builder standardMessages(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 withCHIME.mentionsand 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.mentionsand 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,StandardMessages
-
-
standardMessages
InvokedBy.Builder standardMessages(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 withCHIME.mentionsand 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.mentionsand 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,StandardMessages
-
-
targetedMessages
InvokedBy.Builder targetedMessages(String targetedMessages)
Sets targeted messages as the bot trigger. For targeted messages:
-
ALL: The bot processes allTargetedMessagessent 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 allTargetedMessagessent 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,TargetedMessages
-
-
targetedMessages
InvokedBy.Builder targetedMessages(TargetedMessages targetedMessages)
Sets targeted messages as the bot trigger. For targeted messages:
-
ALL: The bot processes allTargetedMessagessent 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 allTargetedMessagessent 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,TargetedMessages
-
-
-