Class ProxyConfig.ProxyConfigBuilder

java.lang.Object
com.github.twitch4j.common.config.ProxyConfig.ProxyConfigBuilder
Enclosing class:
ProxyConfig

public static class ProxyConfig.ProxyConfigBuilder
extends java.lang.Object
  • Method Details

    • hostname

      public ProxyConfig.ProxyConfigBuilder hostname​(@NonNull @NonNull java.lang.String hostname)
      The hostname or IP address of the proxy server
      Returns:
      this.
    • port

      public ProxyConfig.ProxyConfigBuilder port​(@NonNull @NonNull java.lang.Integer port)
      The port of the proxy server
      Returns:
      this.
    • username

      public ProxyConfig.ProxyConfigBuilder username​(java.lang.String username)
      The username used to authenticate with the proxy, if applicable
      Returns:
      this.
    • password

      public ProxyConfig.ProxyConfigBuilder password​(char[] password)
      The password used to authenticate with the proxy, if applicable
      Returns:
      this.
    • build

      public ProxyConfig build()
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object