public static final class WaiterOverrideConfiguration.Builder extends Object implements CopyableBuilder<WaiterOverrideConfiguration.Builder,WaiterOverrideConfiguration>
Modifier and Type | Method and Description |
---|---|
WaiterOverrideConfiguration.Builder |
backoffStrategy(BackoffStrategy backoffStrategy)
Define the
BackoffStrategy that computes the delay before the next retry request. |
WaiterOverrideConfiguration |
build() |
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, wait
copy
applyMutation
public WaiterOverrideConfiguration.Builder backoffStrategy(BackoffStrategy backoffStrategy)
BackoffStrategy
that computes the delay before the next retry request.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()
build
in interface Buildable
build
in interface SdkBuilder<WaiterOverrideConfiguration.Builder,WaiterOverrideConfiguration>
Copyright © 2022. All rights reserved.