Class DefaultWaiterResponse<T>
- java.lang.Object
-
- software.amazon.awssdk.core.internal.waiters.DefaultWaiterResponse<T>
-
- All Implemented Interfaces:
WaiterResponse<T>
@SdkInternalApi public final class DefaultWaiterResponse<T> extends Object implements WaiterResponse<T>
The default implementation of theWaiterResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDefaultWaiterResponse.Builder<T>
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intattemptsExecuted()static <T> DefaultWaiterResponse.Builder<T>builder()booleanequals(Object o)inthashCode()ResponseOrException<T>matched()StringtoString()
-
-
-
Method Detail
-
builder
public static <T> DefaultWaiterResponse.Builder<T> builder()
-
matched
public ResponseOrException<T> matched()
- Specified by:
matchedin interfaceWaiterResponse<T>- Returns:
- the ResponseOrException union received that has matched with the waiter success condition
-
attemptsExecuted
public int attemptsExecuted()
- Specified by:
attemptsExecutedin interfaceWaiterResponse<T>- Returns:
- the number of attempts executed
-
-