Indico Config Builder

//indico-client-java/com.indico/IndicoConfig/Builder

Builder

[jvm]
open class Builder

Constructors

Builder[jvm]
constructor()

Functions

NameSummary
apiToken[jvm]
open fun apiToken(apiToken: String): IndicoConfig.Builder
build[jvm]
open fun build(): IndicoConfig
connectionReadTimeout[jvm]
open fun connectionReadTimeout(connectionReadTimeout: Int): IndicoConfig.Builder
Set the max read timeout in seconds for okHttpClient.
connectionWriteTimeout[jvm]
open fun connectionWriteTimeout(connectionWriteTimeout: Int): IndicoConfig.Builder
Set the max write timeout in seconds for okHttpClient.
connectTimeout[jvm]
open fun connectTimeout(connectTimeout: Int): IndicoConfig.Builder
Set the max initial connection timeout in seconds for okHttpClient.
host[jvm]
open fun host(host: String): IndicoConfig.Builder
maxConnections[jvm]
open fun maxConnections(maxConnections: Int): IndicoConfig.Builder
maxRetries[jvm]
open fun maxRetries(maxRetries: Int): IndicoConfig.Builder
Set the max initial retries of a call for network-related failures.
protocol[jvm]
open fun protocol(protocol: String): IndicoConfig.Builder
tokenPath[jvm]
open fun tokenPath(tokenPath: String): IndicoConfig.Builder