@Generated(value="software.amazon.awssdk:codegen") public final class LoadBalancerInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LoadBalancerInfo.Builder,LoadBalancerInfo>
Information about the Elastic Load Balancing load balancer or target group used in a deployment.
You can use load balancers and target groups in combination. For example, if you have two Classic Load Balancers, and
five target groups tied to an Application Load Balancer, you can specify the two Classic Load Balancers in
elbInfoList, and the five target groups in targetGroupInfoList.
| Modifier and Type | Class and Description |
|---|---|
static interface |
LoadBalancerInfo.Builder |
| Modifier and Type | Method and Description |
|---|---|
static LoadBalancerInfo.Builder |
builder() |
List<ELBInfo> |
elbInfoList()
An array that contains information about the load balancers to use for load balancing in a deployment.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasElbInfoList()
For responses, this returns true if the service returned a value for the ElbInfoList property.
|
int |
hashCode() |
boolean |
hasTargetGroupInfoList()
For responses, this returns true if the service returned a value for the TargetGroupInfoList property.
|
boolean |
hasTargetGroupPairInfoList()
For responses, this returns true if the service returned a value for the TargetGroupPairInfoList property.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends LoadBalancerInfo.Builder> |
serializableBuilderClass() |
List<TargetGroupInfo> |
targetGroupInfoList()
An array that contains information about the target groups to use for load balancing in a deployment.
|
List<TargetGroupPairInfo> |
targetGroupPairInfoList()
The target group pair information.
|
LoadBalancerInfo.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasElbInfoList()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<ELBInfo> elbInfoList()
An array that contains information about the load balancers to use for load balancing in a deployment. If you're using Classic Load Balancers, specify those load balancers in this array.
You can add up to 10 load balancers to the array.
If you're using Application Load Balancers or Network Load Balancers, use the targetGroupInfoList
array instead of this one.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasElbInfoList() method.
You can add up to 10 load balancers to the array.
If you're using Application Load Balancers or Network Load Balancers, use the
targetGroupInfoList array instead of this one.
public final boolean hasTargetGroupInfoList()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<TargetGroupInfo> targetGroupInfoList()
An array that contains information about the target groups to use for load balancing in a deployment. If you're using Application Load Balancers and Network Load Balancers, specify their associated target groups in this array.
You can add up to 10 target groups to the array.
If you're using Classic Load Balancers, use the elbInfoList array instead of this one.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTargetGroupInfoList() method.
You can add up to 10 target groups to the array.
If you're using Classic Load Balancers, use the elbInfoList array instead of this one.
public final boolean hasTargetGroupPairInfoList()
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.public final List<TargetGroupPairInfo> targetGroupPairInfoList()
The target group pair information. This is an array of TargeGroupPairInfo objects with a maximum
size of one.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTargetGroupPairInfoList() method.
TargeGroupPairInfo objects with a
maximum size of one.public LoadBalancerInfo.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<LoadBalancerInfo.Builder,LoadBalancerInfo>public static LoadBalancerInfo.Builder builder()
public static Class<? extends LoadBalancerInfo.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.