List of usage examples for com.amazonaws.services.simpleemail AmazonSimpleEmailServiceClientBuilder standard
public static AmazonSimpleEmailServiceClientBuilder standard()
From source file:org.wildfly.camel.test.common.aws.SESUtils.java
License:Apache License
public static AmazonSimpleEmailServiceClient createEmailClient() { BasicCredentialsProvider credentials = BasicCredentialsProvider.standard(); AmazonSimpleEmailServiceClient client = !credentials.isValid() ? null : (AmazonSimpleEmailServiceClient) AmazonSimpleEmailServiceClientBuilder.standard() .withCredentials(credentials).withRegion("eu-west-1").build(); return client; }