Class CampaignEventSubCondition.CampaignEventSubConditionBuilder<C extends CampaignEventSubCondition,B extends CampaignEventSubCondition.CampaignEventSubConditionBuilder<C,B>>
java.lang.Object
com.github.twitch4j.eventsub.condition.EventSubCondition.EventSubConditionBuilder<C,B>
com.github.twitch4j.eventsub.condition.CampaignEventSubCondition.CampaignEventSubConditionBuilder<C,B>
- Direct Known Subclasses:
DropEntitlementGrantCondition.DropEntitlementGrantConditionBuilder
- Enclosing class:
- CampaignEventSubCondition
public abstract static class CampaignEventSubCondition.CampaignEventSubConditionBuilder<C extends CampaignEventSubCondition,B extends CampaignEventSubCondition.CampaignEventSubConditionBuilder<C,B>>
extends EventSubCondition.EventSubConditionBuilder<C,B>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract C
build()
campaignId
(String campaignId) Optional: The campaign ID for a specific campaign for which entitlement notifications will be received.categoryId
(String categoryId) Optional: The category (or game) ID of the game for which entitlement notifications will be received.organizationId
(String organizationId) Required: The organization ID of the organization that owns the game on the developer portal.protected abstract B
self()
toString()
-
Constructor Details
-
CampaignEventSubConditionBuilder
public CampaignEventSubConditionBuilder()
-
-
Method Details
-
organizationId
Required: The organization ID of the organization that owns the game on the developer portal.- Returns:
this
.
-
categoryId
Optional: The category (or game) ID of the game for which entitlement notifications will be received.- Returns:
this
.
-
campaignId
Optional: The campaign ID for a specific campaign for which entitlement notifications will be received.- Returns:
this
.
-
self
- Specified by:
self
in classEventSubCondition.EventSubConditionBuilder<C extends CampaignEventSubCondition,
B extends CampaignEventSubCondition.CampaignEventSubConditionBuilder<C, B>>
-
build
- Specified by:
build
in classEventSubCondition.EventSubConditionBuilder<C extends CampaignEventSubCondition,
B extends CampaignEventSubCondition.CampaignEventSubConditionBuilder<C, B>>
-
toString
- Overrides:
toString
in classEventSubCondition.EventSubConditionBuilder<C extends CampaignEventSubCondition,
B extends CampaignEventSubCondition.CampaignEventSubConditionBuilder<C, B>>
-