T - the modelled SDK response type.public final class Response<T> extends Object
| Modifier and Type | Class and Description | 
|---|---|
| static class  | Response.Builder<T> | 
| Modifier and Type | Method and Description | 
|---|---|
| static <T> Response.Builder<T> | builder()Returns a newly initialized builder object for a  Response | 
| boolean | equals(Object o) | 
| SdkException | exception()The modelled exception returned by the service. | 
| int | hashCode() | 
| SdkHttpFullResponse | httpResponse()The HTTP response that was received by the SDK prior to determining the result. | 
| Boolean | isSuccess()Indicates whether the result indicates success or failure of the original request. | 
| T | response()The modelled response object returned by the service. | 
| Response.Builder<T> | toBuilder()Creates a new builder with initial values pulled from the current object. | 
public static <T> Response.Builder<T> builder()
ResponseT - Modelled response type.public Response.Builder<T> toBuilder()
public T response()
public SdkException exception()
public SdkHttpFullResponse httpResponse()
public Boolean isSuccess()
Copyright © 2022. All rights reserved.