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