@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LoadBalancerInfo extends Object implements Serializable, Cloneable, StructuredPojo
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
.
Constructor and Description |
---|
LoadBalancerInfo() |
Modifier and Type | Method and Description |
---|---|
LoadBalancerInfo |
clone() |
boolean |
equals(Object obj) |
List<ELBInfo> |
getElbInfoList()
An array that contains information about the load balancers to use for load balancing in a deployment.
|
List<TargetGroupInfo> |
getTargetGroupInfoList()
An array that contains information about the target groups to use for load balancing in a deployment.
|
List<TargetGroupPairInfo> |
getTargetGroupPairInfoList()
The target group pair information.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setElbInfoList(Collection<ELBInfo> elbInfoList)
An array that contains information about the load balancers to use for load balancing in a deployment.
|
void |
setTargetGroupInfoList(Collection<TargetGroupInfo> targetGroupInfoList)
An array that contains information about the target groups to use for load balancing in a deployment.
|
void |
setTargetGroupPairInfoList(Collection<TargetGroupPairInfo> targetGroupPairInfoList)
The target group pair information.
|
String |
toString()
Returns a string representation of this object.
|
LoadBalancerInfo |
withElbInfoList(Collection<ELBInfo> elbInfoList)
An array that contains information about the load balancers to use for load balancing in a deployment.
|
LoadBalancerInfo |
withElbInfoList(ELBInfo... elbInfoList)
An array that contains information about the load balancers to use for load balancing in a deployment.
|
LoadBalancerInfo |
withTargetGroupInfoList(Collection<TargetGroupInfo> targetGroupInfoList)
An array that contains information about the target groups to use for load balancing in a deployment.
|
LoadBalancerInfo |
withTargetGroupInfoList(TargetGroupInfo... targetGroupInfoList)
An array that contains information about the target groups to use for load balancing in a deployment.
|
LoadBalancerInfo |
withTargetGroupPairInfoList(Collection<TargetGroupPairInfo> targetGroupPairInfoList)
The target group pair information.
|
LoadBalancerInfo |
withTargetGroupPairInfoList(TargetGroupPairInfo... targetGroupPairInfoList)
The target group pair information.
|
public List<ELBInfo> getElbInfoList()
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.
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 void setElbInfoList(Collection<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.
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.
public LoadBalancerInfo withElbInfoList(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.
NOTE: This method appends the values to the existing list (if any). Use
setElbInfoList(java.util.Collection)
or withElbInfoList(java.util.Collection)
if you want to
override the existing values.
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.
public LoadBalancerInfo withElbInfoList(Collection<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.
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.
public List<TargetGroupInfo> getTargetGroupInfoList()
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.
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 void setTargetGroupInfoList(Collection<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.
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.
public LoadBalancerInfo withTargetGroupInfoList(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.
NOTE: This method appends the values to the existing list (if any). Use
setTargetGroupInfoList(java.util.Collection)
or withTargetGroupInfoList(java.util.Collection)
if you want to override the existing values.
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.
public LoadBalancerInfo withTargetGroupInfoList(Collection<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.
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.
public List<TargetGroupPairInfo> getTargetGroupPairInfoList()
The target group pair information. This is an array of TargeGroupPairInfo
objects with a maximum
size of one.
TargeGroupPairInfo
objects with a
maximum size of one.public void setTargetGroupPairInfoList(Collection<TargetGroupPairInfo> targetGroupPairInfoList)
The target group pair information. This is an array of TargeGroupPairInfo
objects with a maximum
size of one.
targetGroupPairInfoList
- The target group pair information. This is an array of TargeGroupPairInfo
objects with a
maximum size of one.public LoadBalancerInfo withTargetGroupPairInfoList(TargetGroupPairInfo... targetGroupPairInfoList)
The target group pair information. This is an array of TargeGroupPairInfo
objects with a maximum
size of one.
NOTE: This method appends the values to the existing list (if any). Use
setTargetGroupPairInfoList(java.util.Collection)
or
withTargetGroupPairInfoList(java.util.Collection)
if you want to override the existing values.
targetGroupPairInfoList
- The target group pair information. This is an array of TargeGroupPairInfo
objects with a
maximum size of one.public LoadBalancerInfo withTargetGroupPairInfoList(Collection<TargetGroupPairInfo> targetGroupPairInfoList)
The target group pair information. This is an array of TargeGroupPairInfo
objects with a maximum
size of one.
targetGroupPairInfoList
- The target group pair information. This is an array of TargeGroupPairInfo
objects with a
maximum size of one.public String toString()
toString
in class Object
Object.toString()
public LoadBalancerInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.