Class WaiterStateMachineProps.Builder
java.lang.Object
software.amazon.awscdk.integtests.alpha.WaiterStateMachineProps.Builder
- All Implemented Interfaces:
- software.amazon.jsii.Builder<WaiterStateMachineProps>
- Enclosing interface:
- WaiterStateMachineProps
@Stability(Experimental)
public static final class WaiterStateMachineProps.Builder
extends Object
implements software.amazon.jsii.Builder<WaiterStateMachineProps>
A builder for 
WaiterStateMachineProps- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbackoffRate(Number backoffRate) Sets the value ofWaiterStateMachineOptions.getBackoffRate()build()Builds the configured instance.Sets the value ofWaiterStateMachineOptions.getInterval()totalTimeout(Duration totalTimeout) Sets the value ofWaiterStateMachineOptions.getTotalTimeout()
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
backoffRateSets the value ofWaiterStateMachineOptions.getBackoffRate()- Parameters:
- backoffRate- Backoff between attempts. This is the multiplier by which the retry interval increases after each retry attempt.- By default there is no backoff. Each retry will wait the amount of time specified by - interval.
- Returns:
- this
 
- 
intervalSets the value ofWaiterStateMachineOptions.getInterval()- Parameters:
- interval- The interval (number of seconds) to wait between attempts.
- Returns:
- this
 
- 
totalTimeoutSets the value ofWaiterStateMachineOptions.getTotalTimeout()- Parameters:
- totalTimeout- The total time that the state machine will wait for a successful response.
- Returns:
- this
 
- 
buildBuilds the configured instance.- Specified by:
- buildin interface- software.amazon.jsii.Builder<WaiterStateMachineProps>
- Returns:
- a new instance of WaiterStateMachineProps
- Throws:
- NullPointerException- if any required attribute was not provided
 
 
-