public static final class WaiterOverrideConfiguration.Builder extends Object implements CopyableBuilder<WaiterOverrideConfiguration.Builder,WaiterOverrideConfiguration>
| Modifier and Type | Method and Description |
|---|---|
WaiterOverrideConfiguration.Builder |
backoffStrategy(BackoffStrategy backoffStrategy)
Deprecated.
Use instead
backoffStrategyV2(BackoffStrategy) |
WaiterOverrideConfiguration.Builder |
backoffStrategyV2(BackoffStrategy backoffStrategy)
Define the
BackoffStrategy that computes the delay between resource polling. |
WaiterOverrideConfiguration |
build()
An immutable object that is created from the
properties that have been set on the builder.
|
WaiterOverrideConfiguration.Builder |
maxAttempts(Integer maxAttempts)
Define the maximum number of attempts to try before transitioning the waiter to a failure state.
|
WaiterOverrideConfiguration.Builder |
waitTimeout(Duration waitTimeout)
Define the amount of time to wait for the resource to transition to the desired state before timing out.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcopyapplyMutationpublic WaiterOverrideConfiguration.Builder backoffStrategy(BackoffStrategy backoffStrategy)
backoffStrategyV2(BackoffStrategy)BackoffStrategy that computes the delay between resource
polling. Only one of WaiterOverrideConfiguration.backoffStrategy() and WaiterOverrideConfiguration.backoffStrategyV2() may be defined.backoffStrategy - The new backoffStrategy value.public WaiterOverrideConfiguration.Builder backoffStrategyV2(BackoffStrategy backoffStrategy)
BackoffStrategy that computes the delay between resource polling. Only one of
WaiterOverrideConfiguration.backoffStrategy() and WaiterOverrideConfiguration.backoffStrategyV2() may be defined.backoffStrategy - The new backoffStrategy value.public WaiterOverrideConfiguration.Builder maxAttempts(Integer maxAttempts)
maxAttempts - The new maxAttempts value.public WaiterOverrideConfiguration.Builder waitTimeout(Duration waitTimeout)
waitTimeout - The new waitTimeout value.public WaiterOverrideConfiguration build()
SdkBuilderbuild in interface Buildablebuild in interface SdkBuilder<WaiterOverrideConfiguration.Builder,WaiterOverrideConfiguration>Copyright © 2026. All rights reserved.