Example usage for com.amazonaws.services.elasticloadbalancing.model CreateLoadBalancerListenersRequest getLoadBalancerName

List of usage examples for com.amazonaws.services.elasticloadbalancing.model CreateLoadBalancerListenersRequest getLoadBalancerName

Introduction

In this page you can find the example usage for com.amazonaws.services.elasticloadbalancing.model CreateLoadBalancerListenersRequest getLoadBalancerName.

Prototype


public String getLoadBalancerName() 

Source Link

Document

The name of the load balancer.

Usage

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

@Override
public void createLoadBalancerListeners(CreateLoadBalancerListenersRequest request) {

    if (request == null)
        throw new IllegalArgumentException("Invalid Request");
    if (request.getLoadBalancerName() == null || request.getLoadBalancerName().isEmpty())
        throw new IllegalArgumentException("Load Balancer Name not specified.");
    if (request.getListeners() == null || request.getListeners().isEmpty())
        throw new IllegalArgumentException("Listeners not specified.");

    awsHttpClient.createLoadBalancerListeners(request);
}