Working through the examples from the AWS Flow for Java SDK Developer Guide