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 Summary
Modifier and Type Method Description ProxyConfigbuild()ProxyConfig.ProxyConfigBuilderhostname(@NonNull java.lang.String hostname)The hostname or IP address of the proxy serverProxyConfig.ProxyConfigBuilderpassword(char[] password)The password used to authenticate with the proxy, if applicableProxyConfig.ProxyConfigBuilderport(@NonNull java.lang.Integer port)The port of the proxy serverjava.lang.StringtoString()ProxyConfig.ProxyConfigBuilderusername(java.lang.String username)The username used to authenticate with the proxy, if applicableMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Method Details
-
hostname
The hostname or IP address of the proxy server- Returns:
this.
-
port
The port of the proxy server- Returns:
this.
-
username
The username used to authenticate with the proxy, if applicable- Returns:
this.
-
password
The password used to authenticate with the proxy, if applicable- Returns:
this.
-
build
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-