@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ClassicLoadBalancersConfig extends Object implements Serializable, Cloneable
Describes the Classic Load Balancers to attach to a Spot Fleet. Spot Fleet registers the running Spot Instances with these Classic Load Balancers.
Constructor and Description |
---|
ClassicLoadBalancersConfig() |
Modifier and Type | Method and Description |
---|---|
ClassicLoadBalancersConfig |
clone() |
boolean |
equals(Object obj) |
List<ClassicLoadBalancer> |
getClassicLoadBalancers()
One or more Classic Load Balancers.
|
int |
hashCode() |
void |
setClassicLoadBalancers(Collection<ClassicLoadBalancer> classicLoadBalancers)
One or more Classic Load Balancers.
|
String |
toString()
Returns a string representation of this object.
|
ClassicLoadBalancersConfig |
withClassicLoadBalancers(ClassicLoadBalancer... classicLoadBalancers)
One or more Classic Load Balancers.
|
ClassicLoadBalancersConfig |
withClassicLoadBalancers(Collection<ClassicLoadBalancer> classicLoadBalancers)
One or more Classic Load Balancers.
|
public List<ClassicLoadBalancer> getClassicLoadBalancers()
One or more Classic Load Balancers.
public void setClassicLoadBalancers(Collection<ClassicLoadBalancer> classicLoadBalancers)
One or more Classic Load Balancers.
classicLoadBalancers
- One or more Classic Load Balancers.public ClassicLoadBalancersConfig withClassicLoadBalancers(ClassicLoadBalancer... classicLoadBalancers)
One or more Classic Load Balancers.
NOTE: This method appends the values to the existing list (if any). Use
setClassicLoadBalancers(java.util.Collection)
or withClassicLoadBalancers(java.util.Collection)
if you want to override the existing values.
classicLoadBalancers
- One or more Classic Load Balancers.public ClassicLoadBalancersConfig withClassicLoadBalancers(Collection<ClassicLoadBalancer> classicLoadBalancers)
One or more Classic Load Balancers.
classicLoadBalancers
- One or more Classic Load Balancers.public String toString()
toString
in class Object
Object.toString()
public ClassicLoadBalancersConfig clone()