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 Details

    • 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 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.

      Parameters:
      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.
      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.