@Generated(value="software.amazon.awssdk:codegen") public final class AwsEcsServiceLoadBalancersDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsEcsServiceLoadBalancersDetails.Builder,AwsEcsServiceLoadBalancersDetails>
Information about a load balancer that the service uses.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AwsEcsServiceLoadBalancersDetails.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AwsEcsServiceLoadBalancersDetails.Builder |
builder() |
String |
containerName()
The name of the container to associate with the load balancer.
|
Integer |
containerPort()
The port on the container to associate with the load balancer.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
loadBalancerName()
The name of the load balancer to associate with the Amazon ECS service or task set.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AwsEcsServiceLoadBalancersDetails.Builder> |
serializableBuilderClass() |
String |
targetGroupArn()
The ARN of the Elastic Load Balancing target group or groups associated with a service or task set.
|
AwsEcsServiceLoadBalancersDetails.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String containerName()
The name of the container to associate with the load balancer.
public final 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 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.public final 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.
Only specified when using a Classic Load Balancer. For an Application Load Balancer or a Network Load Balancer, the load balancer name is omitted.
public final 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.
Only specified when using an Application Load Balancer or a Network Load Balancer. For a Classic Load Balancer, the target group ARN is omitted.
public AwsEcsServiceLoadBalancersDetails.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AwsEcsServiceLoadBalancersDetails.Builder,AwsEcsServiceLoadBalancersDetails>public static AwsEcsServiceLoadBalancersDetails.Builder builder()
public static Class<? extends AwsEcsServiceLoadBalancersDetails.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.