Interface AsyncExecuteRequest.Builder
- 
- Enclosing class:
- AsyncExecuteRequest
 
 public static interface AsyncExecuteRequest.Builder
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description AsyncExecuteRequestbuild()AsyncExecuteRequest.BuilderfullDuplex(boolean fullDuplex)Option to indicate if the request is for a full duplex operation ie., request and response are sent/received at the same time.AsyncExecuteRequest.BuilderhttpExecutionAttributes(SdkHttpExecutionAttributes executionAttributes)Sets the additional HTTP execution attributes collection for this request.AsyncExecuteRequest.BuildermetricCollector(MetricCollector metricCollector)Set theMetricCollectorto be used by the HTTP client to report metrics collected for this request.<T> AsyncExecuteRequest.BuilderputHttpExecutionAttribute(SdkHttpExecutionAttribute<T> attribute, T value)Put an HTTP execution attribute into to the collection of HTTP execution attributes for this requestAsyncExecuteRequest.Builderrequest(SdkHttpRequest request)Set the HTTP request to be executed by the client.AsyncExecuteRequest.BuilderrequestContentPublisher(SdkHttpContentPublisher requestContentPublisher)Set the publisher of the request content.AsyncExecuteRequest.BuilderresponseHandler(SdkAsyncHttpResponseHandler responseHandler)Set the response handler for the resposne.
 
- 
- 
- 
Method Detail- 
requestAsyncExecuteRequest.Builder request(SdkHttpRequest request) Set the HTTP request to be executed by the client.- Parameters:
- request- The request.
- Returns:
- This builder for method chaining.
 
 - 
requestContentPublisherAsyncExecuteRequest.Builder requestContentPublisher(SdkHttpContentPublisher requestContentPublisher) Set the publisher of the request content.- Parameters:
- requestContentPublisher- The publisher.
- Returns:
- This builder for method chaining.
 
 - 
responseHandlerAsyncExecuteRequest.Builder responseHandler(SdkAsyncHttpResponseHandler responseHandler) Set the response handler for the resposne.- Parameters:
- responseHandler- The response handler.
- Returns:
- This builder for method chaining.
 
 - 
metricCollectorAsyncExecuteRequest.Builder metricCollector(MetricCollector metricCollector) Set theMetricCollectorto be used by the HTTP client to report metrics collected for this request.- Parameters:
- metricCollector- The metric collector.
- Returns:
- This builder for method chaining.
 
 - 
fullDuplexAsyncExecuteRequest.Builder fullDuplex(boolean fullDuplex) Option to indicate if the request is for a full duplex operation ie., request and response are sent/received at the same time.This can be used to set http configuration like ReadTimeouts as soon as request has begin sending data instead of waiting for the entire request to be sent. - Returns:
- True if the operation this request belongs to is full duplex. Otherwise false.
 
 - 
putHttpExecutionAttribute<T> AsyncExecuteRequest.Builder putHttpExecutionAttribute(SdkHttpExecutionAttribute<T> attribute, T value) Put an HTTP execution attribute into to the collection of HTTP execution attributes for this request- Parameters:
- attribute- The execution attribute object
- value- The value of the execution attribute.
 
 - 
httpExecutionAttributesAsyncExecuteRequest.Builder httpExecutionAttributes(SdkHttpExecutionAttributes executionAttributes) Sets the additional HTTP execution attributes collection for this request.This will override the attributes configured through putHttpExecutionAttribute(SdkHttpExecutionAttribute, Object)- Parameters:
- executionAttributes- Execution attributes map for this request.
- Returns:
- This object for method chaining.
 
 - 
buildAsyncExecuteRequest build() 
 
- 
 
-