Class IntercomBuilder


  • public final class IntercomBuilder
    extends java.lang.Object
    • Constructor Detail

      • IntercomBuilder

        public IntercomBuilder()
    • Method Detail

      • token

        public IntercomBuilder token​(java.lang.String token)
        Sets token. Defaults to the INTERCOM_API_KEY environment variable.
      • timeout

        public IntercomBuilder timeout​(int timeout)
        Sets the timeout (in seconds) for the client. Defaults to 60 seconds.
      • maxRetries

        public IntercomBuilder maxRetries​(int maxRetries)
        Sets the maximum number of retries for the client. Defaults to 2 retries.
      • httpClient

        public IntercomBuilder httpClient​(okhttp3.OkHttpClient httpClient)
        Sets the underlying OkHttp client