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>
The Waiter Builder
-
Method Summary
Modifier and TypeMethodDescriptionbuild()An immutable object that is created from the properties that have been set on the builder.scheduledExecutorService(ScheduledExecutorService scheduledExecutorService) Defines theScheduledExecutorServiceused to schedule async polling attempts.Methods inherited from interface software.amazon.awssdk.core.waiters.WaiterBuilder
acceptors, addAcceptor, overrideConfiguration, overrideConfiguration
-
Method Details
-
scheduledExecutorService
Defines theScheduledExecutorServiceused 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.
-