Class ResponseOrException<R>
java.lang.Object
software.amazon.awssdk.core.internal.waiters.ResponseOrException<R>
- Type Parameters:
R- response type
Represents a value that can be either a response or a Throwable
-
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic <R> ResponseOrException<R> Create a new ResponseOrException with the exceptioninthashCode()response()static <R> ResponseOrException<R> response(R value) Create a new ResponseOrException with the response
-
Method Details
-
response
-
exception
-
response
Create a new ResponseOrException with the response- Type Parameters:
R- Response type- Parameters:
value- response
-
exception
Create a new ResponseOrException with the exception- Type Parameters:
R- Response type- Parameters:
value- exception
-
equals
-
hashCode
-