Package software.amazon.awssdk.http
Interface HttpExecuteResponse.Builder
- Enclosing class:
HttpExecuteResponse
public static interface HttpExecuteResponse.Builder
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
response
(SdkHttpResponse response) Set the HTTP response to be executed by the client.responseBody
(AbortableInputStream inputStream) Set theInputStream
to be returned by the client.
-
Method Details
-
response
Set the HTTP response to be executed by the client.- Parameters:
response
- The response.- Returns:
- This builder for method chaining.
-
responseBody
Set theInputStream
to be returned by the client.- Parameters:
inputStream
- TheInputStream
- Returns:
- This builder for method chaining
-
build
HttpExecuteResponse build()
-