public static interface AwsEcsServiceLoadBalancersDetails.Builder extends SdkPojo, CopyableBuilder<AwsEcsServiceLoadBalancersDetails.Builder,AwsEcsServiceLoadBalancersDetails>
| Modifier and Type | Method and Description |
|---|---|
AwsEcsServiceLoadBalancersDetails.Builder |
containerName(String containerName)
The name of the container to associate with the load balancer.
|
AwsEcsServiceLoadBalancersDetails.Builder |
containerPort(Integer containerPort)
The port on the container to associate with the load balancer.
|
AwsEcsServiceLoadBalancersDetails.Builder |
loadBalancerName(String loadBalancerName)
The name of the load balancer to associate with the Amazon ECS service or task set.
|
AwsEcsServiceLoadBalancersDetails.Builder |
targetGroupArn(String targetGroupArn)
The ARN of the Elastic Load Balancing target group or groups associated with a service or task set.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAwsEcsServiceLoadBalancersDetails.Builder containerName(String containerName)
The name of the container to associate with the load balancer.
containerName - The name of the container to associate with the load balancer.AwsEcsServiceLoadBalancersDetails.Builder containerPort(Integer containerPort)
The port on the container to associate with the load balancer. This port must correspond to a
containerPort in the task definition the tasks in the service are using. For tasks that use the
EC2 launch type, the container instance they are launched on 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 task definition the tasks in the service are using. For tasks that
use the EC2 launch type, the container instance they are launched on must allow ingress traffic on the
hostPort of the port mapping.AwsEcsServiceLoadBalancersDetails.Builder loadBalancerName(String loadBalancerName)
The name of the load balancer to associate with the Amazon ECS service or task set.
Only specified when using a Classic Load Balancer. For an Application Load Balancer or a Network Load Balancer, the load balancer name is omitted.
loadBalancerName - The name of the load balancer to associate with the Amazon ECS service or task set.
Only specified when using a Classic Load Balancer. For an Application Load Balancer or a Network Load Balancer, the load balancer name is omitted.
AwsEcsServiceLoadBalancersDetails.Builder targetGroupArn(String targetGroupArn)
The ARN of the Elastic Load Balancing target group or groups associated with a service or task set.
Only specified when using an Application Load Balancer or a Network Load Balancer. For a Classic Load Balancer, the target group ARN is omitted.
targetGroupArn - The ARN of the Elastic Load Balancing target group or groups associated with a service or task
set.
Only specified when using an Application Load Balancer or a Network Load Balancer. For a Classic Load Balancer, the target group ARN is omitted.
Copyright © 2023. All rights reserved.