Interface PartialServiceConfiguration


@DoNotLog @Immutable public interface PartialServiceConfiguration
  • Method Details

    • apiToken

      @Redacted Optional<com.palantir.tokens.auth.BearerToken> apiToken()
      The API token to be used to interact with the service.
    • security

      Optional<com.palantir.conjure.java.api.config.ssl.SslConfiguration> security()
      The SSL configuration needed to interact with the service.
    • uris

      List<String> uris()
      A list of service URIs.
    • connectTimeout

      Optional<HumanReadableDuration> connectTimeout()
      Connect timeout for requests.
    • readTimeout

      Read timeout for requests.
    • writeTimeout

      Write timeout for requests.
    • maxNumRetries

      Optional<Integer> maxNumRetries()
      The maximum number of times a failed RPC call should be retried.
    • backoffSlotSize

      Optional<HumanReadableDuration> backoffSlotSize()
      The size of one backoff time slot for call retries. For example, an exponential backoff retry algorithm may choose a backoff time in [0, backoffSlotSize * 2^c] for the c-th retry.
    • enableGcmCipherSuites

      Optional<Boolean> enableGcmCipherSuites()
      Enables slower, but more standard cipher suite support, defaults to false.
    • enableHttp2

      Optional<Boolean> enableHttp2()
      Whether or not to allow the http/2 protocol. A default value is not guaranteed, and may differ between client implementations.
    • fallbackToCommonNameVerification

      @Deprecated Optional<Boolean> fallbackToCommonNameVerification()
      Deprecated.
      This option will be removed by the end of 2019. Certificates are expected to provide valid SANs.
      Enables fallback to common name verification, defaults to false.
    • proxyConfiguration

      Optional<ProxyConfiguration> proxyConfiguration()
      Proxy configuration for connecting to the service. If absent, uses system proxy configuration.
    • of

      static PartialServiceConfiguration of(List<String> uris, Optional<com.palantir.conjure.java.api.config.ssl.SslConfiguration> sslConfig)
    • builder