Class CustomRewardEventSubCondition.CustomRewardEventSubConditionBuilder<C extends CustomRewardEventSubCondition,B extends CustomRewardEventSubCondition.CustomRewardEventSubConditionBuilder<C,B>>
java.lang.Object
com.github.twitch4j.eventsub.condition.EventSubCondition.EventSubConditionBuilder<C,B>
com.github.twitch4j.eventsub.condition.ChannelEventSubCondition.ChannelEventSubConditionBuilder<C,B>
com.github.twitch4j.eventsub.condition.CustomRewardEventSubCondition.CustomRewardEventSubConditionBuilder<C,B>
- Direct Known Subclasses:
ChannelPointsCustomRewardRedemptionAddCondition.ChannelPointsCustomRewardRedemptionAddConditionBuilder
,ChannelPointsCustomRewardRedemptionUpdateCondition.ChannelPointsCustomRewardRedemptionUpdateConditionBuilder
,ChannelPointsCustomRewardRemoveCondition.ChannelPointsCustomRewardRemoveConditionBuilder
,ChannelPointsCustomRewardUpdateCondition.ChannelPointsCustomRewardUpdateConditionBuilder
- Enclosing class:
- CustomRewardEventSubCondition
public abstract static class CustomRewardEventSubCondition.CustomRewardEventSubConditionBuilder<C extends CustomRewardEventSubCondition,B extends CustomRewardEventSubCondition.CustomRewardEventSubConditionBuilder<C,B>>
extends ChannelEventSubCondition.ChannelEventSubConditionBuilder<C,B>
-
Constructor Summary
-
Method Summary
Methods inherited from class com.github.twitch4j.eventsub.condition.ChannelEventSubCondition.ChannelEventSubConditionBuilder
broadcasterUserId
-
Constructor Details
-
CustomRewardEventSubConditionBuilder
public CustomRewardEventSubConditionBuilder()
-
-
Method Details
-
rewardId
Specify a reward id to only receive notifications for a specific reward.- Returns:
this
.
-
self
- Specified by:
self
in classChannelEventSubCondition.ChannelEventSubConditionBuilder<C extends CustomRewardEventSubCondition,
B extends CustomRewardEventSubCondition.CustomRewardEventSubConditionBuilder<C, B>>
-
build
- Specified by:
build
in classChannelEventSubCondition.ChannelEventSubConditionBuilder<C extends CustomRewardEventSubCondition,
B extends CustomRewardEventSubCondition.CustomRewardEventSubConditionBuilder<C, B>>
-
toString
- Overrides:
toString
in classChannelEventSubCondition.ChannelEventSubConditionBuilder<C extends CustomRewardEventSubCondition,
B extends CustomRewardEventSubCondition.CustomRewardEventSubConditionBuilder<C, B>>
-