Package com.github.twitch4j.kraken
Class TwitchKrakenBuilder
java.lang.Object
com.github.twitch4j.kraken.TwitchKrakenBuilder
public class TwitchKrakenBuilder
extends java.lang.Object
-
Method Summary
Modifier and Type Method Description TwitchKrakenbuild()Twitch API Client (Kraken)static TwitchKrakenBuilderbuilder()Initialize the builderjava.lang.StringgetBaseUrl()BaseUrljava.lang.StringgetClientId()Client Idjava.lang.StringgetClientSecret()Client Secretfeign.Logger.LevelgetLogLevel()you can overwrite the feign loglevel to print the full requests + responses if neededcom.github.twitch4j.common.config.ProxyConfiggetProxyConfig()ProxyConfigurationjava.lang.IntegergetRequestQueueSize()HTTP Request Queue Sizejava.lang.IntegergetTimeout()Default Timeoutjava.lang.IntegergetUploadTimeout()java.lang.StringgetUserAgent()User AgentTwitchKrakenBuilderwithClientId(java.lang.String clientId)Client IdTwitchKrakenBuilderwithClientSecret(java.lang.String clientSecret)Client SecretTwitchKrakenBuilderwithLogLevel(feign.Logger.Level logLevel)you can overwrite the feign loglevel to print the full requests + responses if neededTwitchKrakenBuilderwithProxyConfig(com.github.twitch4j.common.config.ProxyConfig proxyConfig)ProxyConfigurationTwitchKrakenBuilderwithRequestQueueSize(java.lang.Integer requestQueueSize)HTTP Request Queue SizeTwitchKrakenBuilderwithTimeout(java.lang.Integer timeout)Default TimeoutTwitchKrakenBuilderwithUploadTimeout(java.lang.Integer uploadTimeout)TwitchKrakenBuilderwithUserAgent(java.lang.String userAgent)User AgentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
builder
Initialize the builder- Returns:
- Twitch Kraken Builder
-
build
Twitch API Client (Kraken)- Returns:
- TwitchKraken
-
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 -
getUploadTimeout
public java.lang.Integer getUploadTimeout() -
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()ProxyConfiguration -
withClientId
Client Id- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withClientSecret
Client Secret- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withUserAgent
User Agent- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withRequestQueueSize
HTTP Request Queue Size- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withTimeout
Default Timeout- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withUploadTimeout
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withLogLevel
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
thisif an identical value is passed).
-
withProxyConfig
public TwitchKrakenBuilder withProxyConfig(com.github.twitch4j.common.config.ProxyConfig proxyConfig)ProxyConfiguration- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-