| Package | Description | 
|---|---|
| com.amazonaws.services.ecs.model | 
| Modifier and Type | Method and Description | 
|---|---|
| LoadBalancer | LoadBalancer. clone() | 
| LoadBalancer | LoadBalancer. withContainerName(String containerName)
 The name of the container (as it appears in a container definition) to associate with the load balancer. | 
| LoadBalancer | LoadBalancer. withContainerPort(Integer containerPort)
 The port on the container to associate with the load balancer. | 
| LoadBalancer | LoadBalancer. withLoadBalancerName(String loadBalancerName)
 The name of the load balancer. | 
| LoadBalancer | LoadBalancer. withTargetGroupArn(String targetGroupArn)
 The full Amazon Resource Name (ARN) of the Elastic Load Balancing target group associated with a service. | 
| Modifier and Type | Method and Description | 
|---|---|
| List<LoadBalancer> | CreateServiceRequest. getLoadBalancers()
 A load balancer object representing the load balancer to use with your service. | 
| List<LoadBalancer> | Service. getLoadBalancers()
 A list of Elastic Load Balancing load balancer objects, containing the load balancer name, the container name (as
 it appears in a container definition), and the container port to access from the load balancer. | 
| Modifier and Type | Method and Description | 
|---|---|
| CreateServiceRequest | CreateServiceRequest. withLoadBalancers(LoadBalancer... loadBalancers)
 A load balancer object representing the load balancer to use with your service. | 
| Service | Service. withLoadBalancers(LoadBalancer... loadBalancers)
 A list of Elastic Load Balancing load balancer objects, containing the load balancer name, the container name (as
 it appears in a container definition), and the container port to access from the load balancer. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | CreateServiceRequest. setLoadBalancers(Collection<LoadBalancer> loadBalancers)
 A load balancer object representing the load balancer to use with your service. | 
| void | Service. setLoadBalancers(Collection<LoadBalancer> loadBalancers)
 A list of Elastic Load Balancing load balancer objects, containing the load balancer name, the container name (as
 it appears in a container definition), and the container port to access from the load balancer. | 
| CreateServiceRequest | CreateServiceRequest. withLoadBalancers(Collection<LoadBalancer> loadBalancers)
 A load balancer object representing the load balancer to use with your service. | 
| Service | Service. withLoadBalancers(Collection<LoadBalancer> loadBalancers)
 A list of Elastic Load Balancing load balancer objects, containing the load balancer name, the container name (as
 it appears in a container definition), and the container port to access from the load balancer. | 
Copyright © 2017. All rights reserved.