public static interface AmazonHttpClient.RequestExecutionBuilder
Modifier and Type | Method and Description |
---|---|
AmazonHttpClient.RequestExecutionBuilder |
errorResponseHandler(HttpResponseHandler<? extends SdkBaseException> errorResponseHandler)
Fluent setter for the error response handler
|
Response<Void> |
execute()
Executes the request with the given configuration; not handling response.
|
<Output> Response<Output> |
execute(HttpResponseHandler<Output> responseHandler)
Executes the request with the given configuration.
|
AmazonHttpClient.RequestExecutionBuilder |
executionContext(ExecutionContext executionContext)
Fluent setter for the execution context
|
AmazonHttpClient.RequestExecutionBuilder |
request(Request<?> request)
Fluent setter for
Request |
AmazonHttpClient.RequestExecutionBuilder |
requestConfig(RequestConfig requestConfig)
Fluent setter for
RequestConfig |
AmazonHttpClient.RequestExecutionBuilder request(Request<?> request)
Request
request
- Request objectAmazonHttpClient.RequestExecutionBuilder errorResponseHandler(HttpResponseHandler<? extends SdkBaseException> errorResponseHandler)
errorResponseHandler
- Error response handlerAmazonHttpClient.RequestExecutionBuilder executionContext(ExecutionContext executionContext)
executionContext
- Execution contextAmazonHttpClient.RequestExecutionBuilder requestConfig(RequestConfig requestConfig)
RequestConfig
requestConfig
- Request config object<Output> Response<Output> execute(HttpResponseHandler<Output> responseHandler)
Output
- Result typeresponseHandler
- Response handler that outputs the actual result type which is
preferred going forward.Copyright © 2022. All rights reserved.