Class TwitchExtensionsBuilder

java.lang.Object
com.github.twitch4j.extensions.TwitchExtensionsBuilder

public class TwitchExtensionsBuilder
extends java.lang.Object
Twitch API - Extensions
  • Method Details

    • build

      public TwitchExtensions build()
      Twitch API Client (Extensions)
      Returns:
      TwitchExtensions
    • builder

      public static TwitchExtensionsBuilder builder()
      Initialize the builder
      Returns:
      Twitch Extensions Builder
    • getClientId

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

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

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

      public long getTimeout()
      Default Timeout
    • getRequestQueueSize

      public int getRequestQueueSize()
      HTTP Request Queue Size
    • getLogLevel

      public feign.Logger.Level getLogLevel()
      you can overwrite the feign loglevel to print the full requests + responses if needed
    • getProxyConfig

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

      public TwitchExtensionsBuilder 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 TwitchExtensionsBuilder 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).
    • withUserAgent

      public TwitchExtensionsBuilder withUserAgent​(java.lang.String userAgent)
      User Agent
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withTimeout

      public TwitchExtensionsBuilder withTimeout​(long timeout)
      Default Timeout
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withRequestQueueSize

      public TwitchExtensionsBuilder withRequestQueueSize​(int requestQueueSize)
      HTTP Request Queue Size
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withLogLevel

      public TwitchExtensionsBuilder withLogLevel​(feign.Logger.Level logLevel)
      you can overwrite the feign loglevel to print the full requests + responses if needed
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withProxyConfig

      public TwitchExtensionsBuilder 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).