@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.
| 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 balancer 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 group 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 balancer to use for load balancing in a deployment. In Elastic Load Balancing, load balancers are used with Classic Load Balancers.
Adding more than one load balancer to the array is not supported.
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.
Adding more than one load balancer to the array is not supported.
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 group to use for load balancing in a deployment. In Elastic Load Balancing, target groups are used with Application Load Balancers.
Adding more than one target group to the array is not supported.
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.
Adding more than one target group to the array is not supported.
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 © 2022. All rights reserved.