Package software.amazon.awssdk.core
Class Response.Builder<T>
java.lang.Object
software.amazon.awssdk.core.Response.Builder<T>
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aResponse
object based on the values held by this builder.exception
(SdkException exception) The modelled exception returned by the service.httpResponse
(SdkHttpFullResponse httpResponse) The HTTP response that was received by the SDK prior to determining the result.Indicates whether the result indicates success or failure of the original request.The modelled response object returned by the service.
-
Method Details
-
isSuccess
Indicates whether the result indicates success or failure of the original request. A true value indicates success; a false value indicates failure. -
response
The modelled response object returned by the service. If the response was a failure, this value is likely to be null. -
exception
The modelled exception returned by the service. If the response was not a failure, this value is likely to be null. -
httpResponse
The HTTP response that was received by the SDK prior to determining the result. -
build
Builds aResponse
object based on the values held by this builder.
-