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 HttpExecuteResponsebuild()HttpExecuteResponse.Builderresponse(SdkHttpResponse response)Set the HTTP response to be executed by the client.HttpExecuteResponse.BuilderresponseBody(AbortableInputStream inputStream)Set theInputStreamto 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 theInputStreamto be returned by the client.- Parameters:
inputStream- TheInputStream- Returns:
- This builder for method chaining
-
build
HttpExecuteResponse build()
-
-