Interface AwsEcsServiceLoadBalancersDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AwsEcsServiceLoadBalancersDetails.Builder,AwsEcsServiceLoadBalancersDetails>,SdkBuilder<AwsEcsServiceLoadBalancersDetails.Builder,AwsEcsServiceLoadBalancersDetails>,SdkPojo
- Enclosing class:
- AwsEcsServiceLoadBalancersDetails
public static interface AwsEcsServiceLoadBalancersDetails.Builder extends SdkPojo, CopyableBuilder<AwsEcsServiceLoadBalancersDetails.Builder,AwsEcsServiceLoadBalancersDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AwsEcsServiceLoadBalancersDetails.BuildercontainerName(String containerName)The name of the container to associate with the load balancer.AwsEcsServiceLoadBalancersDetails.BuildercontainerPort(Integer containerPort)The port on the container to associate with the load balancer.AwsEcsServiceLoadBalancersDetails.BuilderloadBalancerName(String loadBalancerName)The name of the load balancer to associate with the Amazon ECS service or task set.AwsEcsServiceLoadBalancersDetails.BuildertargetGroupArn(String targetGroupArn)The ARN of the Elastic Load Balancing target group or groups associated with a service or task set.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
containerName
AwsEcsServiceLoadBalancersDetails.Builder containerName(String containerName)
The name of the container to associate with the load balancer.
- Parameters:
containerName- The name of the container to associate with the load balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containerPort
AwsEcsServiceLoadBalancersDetails.Builder containerPort(Integer containerPort)
The port on the container to associate with the load balancer. This port must correspond to a
containerPortin 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 thehostPortof the port mapping.- Parameters:
containerPort- The port on the container to associate with the load balancer. This port must correspond to acontainerPortin 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 thehostPortof the port mapping.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loadBalancerName
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetGroupArn
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-