public class SdkConfig extends Object
| Modifier and Type | Field and Description |
|---|---|
Optional<Duration> |
apiCallAttemptTimeout
The amount of time to wait for the HTTP request to complete before giving up and timing out.
|
Optional<Duration> |
apiCallTimeout
The amount of time to allow the client to complete the execution of an API call.
|
Optional<URI> |
endpointOverride
The endpoint URI with which the SDK should communicate.
|
| Constructor and Description |
|---|
SdkConfig() |
@ConfigItem public Optional<URI> endpointOverride
If not specified, an appropriate endpoint to be used for the given service and region.
@ConfigItem public Optional<Duration> apiCallTimeout
This timeout covers the entire client execution except for marshalling. This includes request handler execution, all HTTP requests including retries, unmarshalling, etc.
This value should always be positive, if present.
ClientOverrideConfiguration.apiCallTimeout()@ConfigItem public Optional<Duration> apiCallAttemptTimeout
This value should always be positive, if present.
ClientOverrideConfiguration.apiCallAttemptTimeout()Copyright © 2020 JBoss by Red Hat. All rights reserved.