@Generated(value="software.amazon.awssdk:codegen") public final class LoadBalancer extends Object implements StructuredPojo, ToCopyableBuilder<LoadBalancer.Builder,LoadBalancer>
Details on a load balancer that is used with a service.
Modifier and Type | Class and Description |
---|---|
static interface |
LoadBalancer.Builder |
Modifier and Type | Method and Description |
---|---|
static LoadBalancer.Builder |
builder() |
String |
containerName()
The name of the container (as it appears in a container definition) to associate with the load balancer.
|
Integer |
containerPort()
The port on the container to associate with the load balancer.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
loadBalancerName()
The name of a load balancer.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends LoadBalancer.Builder> |
serializableBuilderClass() |
String |
targetGroupArn()
The full Amazon Resource Name (ARN) of the Elastic Load Balancing target group associated with a service.
|
LoadBalancer.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String targetGroupArn()
The full Amazon Resource Name (ARN) of the Elastic Load Balancing target group associated with a service.
public String loadBalancerName()
The name of a load balancer.
public String containerName()
The name of the container (as it appears in a container definition) to associate with the load balancer.
public 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
in the service's task definition. Your container instances must allow ingress
traffic on the hostPort
of the port mapping.public LoadBalancer.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<LoadBalancer.Builder,LoadBalancer>
public static LoadBalancer.Builder builder()
public static Class<? extends LoadBalancer.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.