CopyableBuilder<LoadBalancer.Builder,LoadBalancer>
, SdkBuilder<LoadBalancer.Builder,LoadBalancer>
public static interface LoadBalancer.Builder extends CopyableBuilder<LoadBalancer.Builder,LoadBalancer>
Modifier and Type | Method | Description |
---|---|---|
LoadBalancer.Builder |
containerName(String containerName) |
The name of the container (as it appears in a container definition) to associate with the load balancer.
|
LoadBalancer.Builder |
containerPort(Integer containerPort) |
The port on the container to associate with the load balancer.
|
LoadBalancer.Builder |
loadBalancerName(String loadBalancerName) |
The name of a Classic load balancer.
|
LoadBalancer.Builder |
targetGroupArn(String targetGroupArn) |
The full Amazon Resource Name (ARN) of the Elastic Load Balancing target group associated with a service.
|
copy
apply, build
LoadBalancer.Builder targetGroupArn(String targetGroupArn)
The full Amazon Resource Name (ARN) of the Elastic Load Balancing target group associated with a service.
targetGroupArn
- The full Amazon Resource Name (ARN) of the Elastic Load Balancing target group associated with a
service.LoadBalancer.Builder loadBalancerName(String loadBalancerName)
The name of a Classic load balancer.
loadBalancerName
- The name of a Classic load balancer.LoadBalancer.Builder containerName(String containerName)
The name of the container (as it appears in a container definition) to associate with the load balancer.
containerName
- The name of the container (as it appears in a container definition) to associate with the load
balancer.LoadBalancer.Builder containerPort(Integer containerPort)
The port on the container to associate with the load balancer. This port must correspond to a
containerPort
in the service's task definition. Your container instances must allow ingress
traffic on the hostPort
of the port mapping.
containerPort
- The port on the container to associate with the load balancer. This port must correspond to a
containerPort
in the service's task definition. Your container instances must allow
ingress traffic on the hostPort
of the port mapping.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.