Example usage for com.amazonaws.services.elasticloadbalancing AmazonElasticLoadBalancingClient setServiceNameIntern

List of usage examples for com.amazonaws.services.elasticloadbalancing AmazonElasticLoadBalancingClient setServiceNameIntern

Introduction

In this page you can find the example usage for com.amazonaws.services.elasticloadbalancing AmazonElasticLoadBalancingClient setServiceNameIntern.

Prototype

public final void setServiceNameIntern(String serviceName) 

Source Link

Document

An internal method used to explicitly override the service name computed by the default implementation.

Usage

From source file:web.component.impl.aws.AWSELBImpl.java

private void setUpHttpClient(AmazonElasticLoadBalancingClient awsELBClient) {

    Properties conf = ((AWSImpl) AWS.access()).conf();
    String endpoint = conf.getProperty("elb.endpoint");
    String serviceName = conf.getProperty("elb.servicename");
    String regionName = conf.getProperty("region");

    awsELBClient.setEndpoint(endpoint, serviceName, regionName);
    awsELBClient.setServiceNameIntern(serviceName);
}