@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.
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 balancer to use for load balancing in a deployment.
|
List<TargetGroupInfo> |
getTargetGroupInfoList()
An array that contains information about the target group 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 balancer to use for load balancing in a deployment.
|
void |
setTargetGroupInfoList(Collection<TargetGroupInfo> targetGroupInfoList)
An array that contains information about the target group 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 balancer to use for load balancing in a deployment.
|
LoadBalancerInfo |
withElbInfoList(ELBInfo... elbInfoList)
An array that contains information about the load balancer to use for load balancing in a deployment.
|
LoadBalancerInfo |
withTargetGroupInfoList(Collection<TargetGroupInfo> targetGroupInfoList)
An array that contains information about the target group to use for load balancing in a deployment.
|
LoadBalancerInfo |
withTargetGroupInfoList(TargetGroupInfo... targetGroupInfoList)
An array that contains information about the target group 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 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.
Adding more than one load balancer to the array is not supported.
public void setElbInfoList(Collection<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.
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.
public LoadBalancerInfo withElbInfoList(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.
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 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.
public LoadBalancerInfo withElbInfoList(Collection<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.
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.
public List<TargetGroupInfo> getTargetGroupInfoList()
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.
Adding more than one target group to the array is not supported.
public void setTargetGroupInfoList(Collection<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.
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.
public LoadBalancerInfo withTargetGroupInfoList(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.
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 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.
public LoadBalancerInfo withTargetGroupInfoList(Collection<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.
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.
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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.