Package software.amazon.awssdk.http
Interface HttpExecuteRequest.Builder
- Enclosing class:
HttpExecuteRequest
public static interface HttpExecuteRequest.Builder
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
contentStreamProvider
(ContentStreamProvider contentStreamProvider) Set theContentStreamProvider
to be executed by the client.metricCollector
(MetricCollector metricCollector) Set theMetricCollector
to be used by the HTTP client to report metrics collected for this request.request
(SdkHttpRequest request) Set the HTTP request to be executed by the client.
-
Method Details
-
request
Set the HTTP request to be executed by the client.- Parameters:
request
- The request.- Returns:
- This builder for method chaining.
-
contentStreamProvider
Set theContentStreamProvider
to be executed by the client.- Parameters:
contentStreamProvider
- The content stream provider- Returns:
- This builder for method chaining
-
metricCollector
Set theMetricCollector
to be used by the HTTP client to report metrics collected for this request.- Parameters:
metricCollector
- The metric collector.- Returns:
- This builder for method chaining.
-
build
HttpExecuteRequest build()
-