Class DefaultWaiterResponse<T>
- java.lang.Object
-
- software.amazon.awssdk.core.internal.waiters.DefaultWaiterResponse<T>
-
- All Implemented Interfaces:
WaiterResponse<T>
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 class
DefaultWaiterResponse.Builder<T>
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
attemptsExecuted()
static <T> DefaultWaiterResponse.Builder<T>
builder()
boolean
equals(Object o)
int
hashCode()
ResponseOrException<T>
matched()
String
toString()
-
-
-
Method Detail
-
builder
public static <T> DefaultWaiterResponse.Builder<T> builder()
-
matched
public ResponseOrException<T> matched()
- Specified by:
matched
in interfaceWaiterResponse<T>
- Returns:
- the ResponseOrException union received that has matched with the waiter success condition
-
attemptsExecuted
public int attemptsExecuted()
- Specified by:
attemptsExecuted
in interfaceWaiterResponse<T>
- Returns:
- the number of attempts executed
-
-