Class TwitchMessagingInterfaceBuilder

java.lang.Object
com.github.twitch4j.tmi.TwitchMessagingInterfaceBuilder

public class TwitchMessagingInterfaceBuilder
extends java.lang.Object
Twitch API - Messaging Interface
  • Method Details

    • builder

      public static TwitchMessagingInterfaceBuilder builder()
      Initialize the builder
      Returns:
      Twitch Helix Builder
    • build

      public TwitchMessagingInterface build()
      Twitch API Client (Helix)
      Returns:
      TwitchHelix
    • getClientId

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

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

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

      public java.lang.Integer getRequestQueueSize()
      HTTP Request Queue Size
    • getBaseUrl

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

      public java.lang.Integer getTimeout()
      Default Timeout
    • 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 TwitchMessagingInterfaceBuilder 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 TwitchMessagingInterfaceBuilder 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 TwitchMessagingInterfaceBuilder 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).
    • withRequestQueueSize

      public TwitchMessagingInterfaceBuilder withRequestQueueSize​(java.lang.Integer requestQueueSize)
      HTTP Request Queue Size
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withTimeout

      public TwitchMessagingInterfaceBuilder withTimeout​(java.lang.Integer timeout)
      Default Timeout
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withLogLevel

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