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 Details

    • scheduledExecutorService

      AsyncWaiter.Builder<T> scheduledExecutorService(ScheduledExecutorService scheduledExecutorService)
      Defines the ScheduledExecutorService 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.