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