Example usage for com.amazonaws.services.sqs AmazonSQSClientBuilder standard

List of usage examples for com.amazonaws.services.sqs AmazonSQSClientBuilder standard

Introduction

In this page you can find the example usage for com.amazonaws.services.sqs AmazonSQSClientBuilder standard.

Prototype

public static AmazonSQSClientBuilder standard() 

Source Link

Usage

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;
}