Uses of Class
com.cloudera.cdp.client.CdpClientConfigurationBuilder
-
Uses of CdpClientConfigurationBuilder in com.cloudera.cdp.client
Modifier and TypeMethodDescriptionCdpClientConfigurationBuilder.addRequestHeader
(String name, String value) Adds the request header.CdpClientConfigurationBuilder.addTrustedCertificate
(X509Certificate trustedCertificate) Adds the trusted certificate.CdpClientConfigurationBuilder.defaultBuilder()
Gets an CdpClientConfigurationBuilder object with all the default values set.CdpClientConfiguration.toBuilder()
Constructs a builder initialized with current client configuration.CdpClientConfigurationBuilder.withClientApplicationName
(String clientApplicationName) Sets the client application name.CdpClientConfigurationBuilder.withConnectionMaxIdle
(Duration connectionMaxIdle) Sets the maximum amount of time that an idle connection may sit in the connection pool and still be eligible for reuse.CdpClientConfigurationBuilder.withConnectionTimeout
(Duration connectionTimeout) Sets the connection timeout on the underlying HTTP client.CdpClientConfigurationBuilder.withIgnoreTls
(boolean ignoreTls) Sets the switch to ignore HTTPS verification errors.CdpClientConfigurationBuilder.withMaxConnections
(int maxConnections) Sets the maximum number of allowed open HTTP connections.CdpClientConfigurationBuilder.withProxyPassword
(String proxyPassword) Sets the value of the proxy password.CdpClientConfigurationBuilder.withProxyUri
(String proxyUri) Sets the value of the proxy URI.CdpClientConfigurationBuilder.withProxyUsername
(String proxyUsername) Sets the value of the proxy username.CdpClientConfigurationBuilder.withReadTimeout
(Duration readTimeout) Sets the read timeout on the underlying HTTP client.CdpClientConfigurationBuilder.withRequestHeaders
(Map<String, String> requestHeaders) Sets the request headers.CdpClientConfigurationBuilder.withRetryHandler
(RetryHandler retryHandler) Sets the value for RetryHandler.CdpClientConfigurationBuilder.withTrustedCertificates
(List<X509Certificate> trustedCertificates) Sets the trusted certificates.CdpClientConfigurationBuilder.withValidateAfterInactivity
(Duration validateAfterInactivity) Sets the amount of time that a connection can be idle in the connection pool before it must be validated to ensure it's still open.ModifierConstructorDescriptionConstructor.