Java (SDK V2) Code Samples for Amazon Pinpoint - AWS Code Sample