Announcing general availability of waiters in the AWS SDK for Java 2.x
We are pleased to announce the general availability of the waiters feature in the AWS SDK for Java 2.x . The waiters feature is an abstraction that enables you to validate that AWS resources, such as DynamoDB tables or Amazon S3 buckets, are in a specified state before performing operations on those resources. When interacting with AWS APIs that are asynchronous, such as DynamoDB CreateTable, customers often need to wait for that particular resource to become available in order to perform further actions on it. The waiter utility provides a simple API that polls a resource until a desired state is reached or until it is determined that the resource will never enter into the desired state.
Source:: Amazon AWS