public CompletableFuture<ProfileChecks> getProfileChecks() { CompletableFuture<ProfileChecks> future = new CompletableFuture<>(); ProfileChecks checks = new ProfileChecks(); this.client .describeTrustedAdvisorChecksAsync( new DescribeTrustedAdvisorChecksRequest().withLanguage(Locale.ENGLISH.getLanguage()), new TrustedAdvisorChecksResultHandler(checks, future) ); return future; }