List of usage examples for com.amazonaws.services.ec2 AmazonEC2Client setEndpoint
@Deprecated public void setEndpoint(String endpoint, String serviceName, String regionId)
From source file:web.component.impl.aws.AWSEC2Impl.java
private void setUpHttpClient(AmazonEC2Client awsEC2Client) { Properties conf = ((AWSImpl) AWS.access()).conf(); String endpoint = conf.getProperty("ec2.endpoint"); String serviceName = conf.getProperty("ec2.servicename"); String regionName = conf.getProperty("region"); awsEC2Client.setEndpoint(endpoint, serviceName, regionName); awsEC2Client.setServiceNameIntern(serviceName); }