Example usage for com.amazonaws.services.route53 AmazonRoute53ClientBuilder standard

List of usage examples for com.amazonaws.services.route53 AmazonRoute53ClientBuilder standard

Introduction

In this page you can find the example usage for com.amazonaws.services.route53 AmazonRoute53ClientBuilder standard.

Prototype

public static AmazonRoute53ClientBuilder standard() 

Source Link

Usage

From source file:tech.greenfield.aws.Clients.java

License:Open Source License

synchronized public static AmazonRoute53 route53() {
    if (Objects.isNull(r53)) {
        System.err.println("Initializing Route53 client using " + Tools.getCredsProvider());
        r53 = AmazonRoute53ClientBuilder.standard().withCredentials(Tools.getCredsProvider())
                .withRegion(region.getName()).build();
    }/*from  w  w w.  j  a  va 2 s .c  o  m*/
    return r53;
}