Interface AsyncWaiter.Builder<T>
-
- Type Parameters:
T
- the type of the resource
- All Superinterfaces:
WaiterBuilder<T,AsyncWaiter.Builder<T>>
- All Known Implementing Classes:
DefaultAsyncWaiter.DefaultBuilder
- Enclosing interface:
- AsyncWaiter<T>
public static interface AsyncWaiter.Builder<T> extends WaiterBuilder<T,AsyncWaiter.Builder<T>>
The Waiter Builder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AsyncWaiter<T>
build()
An immutable object that is created from the properties that have been set on the builder.AsyncWaiter.Builder<T>
scheduledExecutorService(ScheduledExecutorService scheduledExecutorService)
Defines theScheduledExecutorService
used to schedule async polling attempts.-
Methods inherited from interface software.amazon.awssdk.core.waiters.WaiterBuilder
acceptors, addAcceptor, overrideConfiguration, overrideConfiguration
-
-
-
-
Method Detail
-
scheduledExecutorService
AsyncWaiter.Builder<T> scheduledExecutorService(ScheduledExecutorService scheduledExecutorService)
Defines theScheduledExecutorService
used to schedule async polling attempts.- Parameters:
scheduledExecutorService
- the schedule executor service- Returns:
- a reference to this object so that method calls can be chained together.
-
build
AsyncWaiter<T> build()
An immutable object that is created from the properties that have been set on the builder.- Returns:
- a reference to this object so that method calls can be chained together.
-
-