CopyableBuilder<NettySdkHttpClientFactory.Builder,NettySdkHttpClientFactory>
, SdkBuilder<NettySdkHttpClientFactory.Builder,NettySdkHttpClientFactory>
public static interface NettySdkHttpClientFactory.Builder extends CopyableBuilder<NettySdkHttpClientFactory.Builder,NettySdkHttpClientFactory>
NettySdkHttpClientFactory
.NettySdkHttpClientFactory.builder()
Modifier and Type | Method | Description |
---|---|---|
NettySdkHttpClientFactory.Builder |
connectionTimeout(Duration socketTimeout) |
The amount of time to wait when initially establishing a connection before giving up and timing out.
|
NettySdkHttpClientFactory.Builder |
maxConnectionsPerEndpoint(Integer maxConnectionsPerEndpoint) |
Max allowed connections per endpoint allowed in the connection pool.
|
NettySdkHttpClientFactory.Builder |
socketTimeout(Duration socketTimeout) |
The amount of time to wait for data to be transferred over an established, open connection before the connection is
timed out.
|
NettySdkHttpClientFactory.Builder |
trustAllCertificates(Boolean trustAllCertificates) |
Forces the HTTP client to trust all certificates, even invalid or self signed certificates.
|
copy
apply, build
NettySdkHttpClientFactory.Builder maxConnectionsPerEndpoint(Integer maxConnectionsPerEndpoint)
maxConnectionsPerEndpoint
- New value for max connections per endpoint.NettySdkHttpClientFactory.Builder socketTimeout(Duration socketTimeout)
NettySdkHttpClientFactory.Builder connectionTimeout(Duration socketTimeout)
NettySdkHttpClientFactory.Builder trustAllCertificates(Boolean trustAllCertificates)
trustAllCertificates
- Whether to trust all certificates. The default is false and only valid certificates
whose trust can be verified via the trust store will be trusted.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.