Example usage for com.amazonaws.services.autoscaling AmazonAutoScalingAsyncClientBuilder standard

List of usage examples for com.amazonaws.services.autoscaling AmazonAutoScalingAsyncClientBuilder standard

Introduction

In this page you can find the example usage for com.amazonaws.services.autoscaling AmazonAutoScalingAsyncClientBuilder standard.

Prototype

public static AmazonAutoScalingAsyncClientBuilder standard() 

Source Link

Usage

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

License:Open Source License

synchronized public static AmazonAutoScalingAsync autoscaling() {
    if (Objects.isNull(autoscaling)) {
        System.err.println("Initializing AutoScaling client using " + getCreds());
        autoscaling = AmazonAutoScalingAsyncClientBuilder.standard().withCredentials(Tools.getCredsProvider())
                .withRegion(region.getName()).build();
    }/*from   w w  w.j  a  v a2s . com*/
    return autoscaling;
}