Class TwitchGraphQLBuilder

java.lang.Object
com.github.twitch4j.graphql.TwitchGraphQLBuilder

public class TwitchGraphQLBuilder
extends java.lang.Object
Twitch GraphQL Builder
  • Method Details

    • builder

      public static TwitchGraphQLBuilder builder()
      Initialize the builder
      Returns:
      Twitch GraphQL Builder
    • build

      public TwitchGraphQL build()
      Twitch API Client (GraphQL)
      Returns:
      TwitchGraphQL
    • getEventManager

      public com.github.philippheuer.events4j.core.EventManager getEventManager()
      Event Manager
    • getDefaultEventHandler

      public java.lang.Class<? extends com.github.philippheuer.events4j.api.service.IEventHandler> getDefaultEventHandler()
      EventManager
    • getProxyConfig

      public com.github.twitch4j.common.config.ProxyConfig getProxyConfig()
      Proxy Configuration
    • getClientId

      public java.lang.String getClientId()
      Client Id
    • getClientSecret

      public java.lang.String getClientSecret()
      Client Secret
    • getUserAgent

      public java.lang.String getUserAgent()
      User Agent
    • getBaseUrl

      public java.lang.String getBaseUrl()
      BaseUrl
    • withEventManager

      public TwitchGraphQLBuilder withEventManager​(com.github.philippheuer.events4j.core.EventManager eventManager)
      Event Manager
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withDefaultEventHandler

      public TwitchGraphQLBuilder withDefaultEventHandler​(java.lang.Class<? extends com.github.philippheuer.events4j.api.service.IEventHandler> defaultEventHandler)
      EventManager
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withProxyConfig

      public TwitchGraphQLBuilder withProxyConfig​(com.github.twitch4j.common.config.ProxyConfig proxyConfig)
      Proxy Configuration
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withClientId

      public TwitchGraphQLBuilder withClientId​(java.lang.String clientId)
      Client Id
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withClientSecret

      public TwitchGraphQLBuilder withClientSecret​(java.lang.String clientSecret)
      Client Secret
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).