Class TwitchMessagingInterfaceBuilder

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

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

    • builder

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

      Deprecated.
      All of the TwitchMessagingInterfaceBuilder endpoints have been (or will be) decommissioned by Twitch.
      Twitch API Client (Helix)
      Returns:
      TwitchHelix
    • getClientId

      public String getClientId()
      Client Id
    • getClientSecret

      public String getClientSecret()
      Client Secret
    • getUserAgent

      public String getUserAgent()
      User Agent
    • getRequestQueueSize

      public Integer getRequestQueueSize()
      HTTP Request Queue Size
    • getBaseUrl

      public String getBaseUrl()
      BaseUrl
    • getTimeout

      public 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 ProxyConfig getProxyConfig()
      Proxy Configuration
    • withClientId

      public TwitchMessagingInterfaceBuilder withClientId(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(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(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(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(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(ProxyConfig proxyConfig)
      Proxy Configuration
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).