Example usage for com.amazonaws.services.elasticbeanstalk AWSElasticBeanstalkClient setEndpoint

List of usage examples for com.amazonaws.services.elasticbeanstalk AWSElasticBeanstalkClient setEndpoint

Introduction

In this page you can find the example usage for com.amazonaws.services.elasticbeanstalk AWSElasticBeanstalkClient setEndpoint.

Prototype

@Deprecated
public void setEndpoint(String endpoint) throws IllegalArgumentException 

Source Link

Document

Overrides the default endpoint for this client.

Usage

From source file:br.com.ingenieux.mojo.beanstalk.AbstractBeanstalkMojo.java

License:Apache License

@Override
public AWSElasticBeanstalkClient getService() {
    final AWSElasticBeanstalkClient service = super.getService();

    if (isNotBlank(endpointUrl)) {
        service.setEndpoint(endpointUrl);
    }//from  w w  w. j a  v  a  2  s .c  o  m

    return service;
}