|Constructor and Description|
Constructs a new waiter with all the parameters defined in the WaiterExecutionBuilder
|Modifier and Type||Method and Description|
Polls until a specified resource transitions into either success or failure state or until the specified number of retries has been made.
public boolean pollResource() throws AmazonServiceException, WaiterTimedOutException, WaiterUnrecoverableException
AmazonServiceException- If the service exception thrown doesn't match any of the expected exceptions, it's re-thrown.
WaiterUnrecoverableException- If the resource transitions into a failure/unexpected state.
WaiterTimedOutException- If the resource doesn't transition into the desired state even after a certain number of retries.