Class ChannelFromToEventSubCondition.ChannelFromToEventSubConditionBuilder<C extends ChannelFromToEventSubCondition,B extends ChannelFromToEventSubCondition.ChannelFromToEventSubConditionBuilder<C,B>>
java.lang.Object
com.github.twitch4j.eventsub.condition.EventSubCondition.EventSubConditionBuilder<C,B>
com.github.twitch4j.eventsub.condition.ChannelFromToEventSubCondition.ChannelFromToEventSubConditionBuilder<C,B>
- Direct Known Subclasses:
ChannelRaidCondition.ChannelRaidConditionBuilder
- Enclosing class:
- ChannelFromToEventSubCondition
public abstract static class ChannelFromToEventSubCondition.ChannelFromToEventSubConditionBuilder<C extends ChannelFromToEventSubCondition,B extends ChannelFromToEventSubCondition.ChannelFromToEventSubConditionBuilder<C,B>>
extends EventSubCondition.EventSubConditionBuilder<C,B>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract C
build()
fromBroadcasterUserId
(String fromBroadcasterUserId) The broadcaster user ID that triggered the channel event you want to get notifications for.protected abstract B
self()
toBroadcasterUserId
(String toBroadcasterUserId) The broadcaster user ID that received the channel event you want to get notifications for.toString()
-
Constructor Details
-
ChannelFromToEventSubConditionBuilder
public ChannelFromToEventSubConditionBuilder()
-
-
Method Details
-
fromBroadcasterUserId
The broadcaster user ID that triggered the channel event you want to get notifications for.- Returns:
this
.
-
toBroadcasterUserId
The broadcaster user ID that received the channel event you want to get notifications for.- Returns:
this
.
-
self
- Specified by:
self
in classEventSubCondition.EventSubConditionBuilder<C extends ChannelFromToEventSubCondition,
B extends ChannelFromToEventSubCondition.ChannelFromToEventSubConditionBuilder<C, B>>
-
build
- Specified by:
build
in classEventSubCondition.EventSubConditionBuilder<C extends ChannelFromToEventSubCondition,
B extends ChannelFromToEventSubCondition.ChannelFromToEventSubConditionBuilder<C, B>>
-
toString
- Overrides:
toString
in classEventSubCondition.EventSubConditionBuilder<C extends ChannelFromToEventSubCondition,
B extends ChannelFromToEventSubCondition.ChannelFromToEventSubConditionBuilder<C, B>>
-