Modifier and Type | Method and Description |
---|---|
Response<T> |
build()
Builds a
Response object based on the values held by this builder. |
Response.Builder<T> |
exception(SdkException exception)
The modelled exception returned by the service.
|
Response.Builder<T> |
httpResponse(SdkHttpFullResponse httpResponse)
The HTTP response that was received by the SDK prior to determining the result.
|
Response.Builder<T> |
isSuccess(Boolean success)
Indicates whether the result indicates success or failure of the original request.
|
Response.Builder<T> |
response(T response)
The modelled response object returned by the service.
|
public Response.Builder<T> isSuccess(Boolean success)
public Response.Builder<T> response(T response)
public Response.Builder<T> exception(SdkException exception)
public Response.Builder<T> httpResponse(SdkHttpFullResponse httpResponse)
Copyright © 2021. All rights reserved.