Package com.intercom.api
Class IntercomBuilder
java.lang.Object
com.intercom.api.IntercomBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()environment(Environment environment) httpClient(okhttp3.OkHttpClient httpClient) Sets the underlying OkHttp clientmaxRetries(int maxRetries) Sets the maximum number of retries for the client.timeout(int timeout) Sets the timeout (in seconds) for the client.Sets token.
-
Constructor Details
-
IntercomBuilder
public IntercomBuilder()
-
-
Method Details
-
token
Sets token. Defaults to the INTERCOM_API_KEY environment variable. -
environment
-
url
-
timeout
Sets the timeout (in seconds) for the client. Defaults to 60 seconds. -
maxRetries
Sets the maximum number of retries for the client. Defaults to 2 retries. -
httpClient
Sets the underlying OkHttp client -
build
-