public class RegisterInstancesWithLoadBalancerResult extends Object implements Serializable, Cloneable
Constructor and Description |
---|
RegisterInstancesWithLoadBalancerResult() |
Modifier and Type | Method and Description |
---|---|
RegisterInstancesWithLoadBalancerResult |
clone() |
boolean |
equals(Object obj) |
List<Instance> |
getInstances()
The updated list of instances for the load balancer.
|
int |
hashCode() |
void |
setInstances(Collection<Instance> instances)
The updated list of instances for the load balancer.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RegisterInstancesWithLoadBalancerResult |
withInstances(Collection<Instance> instances)
The updated list of instances for the load balancer.
|
RegisterInstancesWithLoadBalancerResult |
withInstances(Instance... instances)
The updated list of instances for the load balancer.
|
public RegisterInstancesWithLoadBalancerResult()
public List<Instance> getInstances()
The updated list of instances for the load balancer.
public void setInstances(Collection<Instance> instances)
The updated list of instances for the load balancer.
instances
- The updated list of instances for the load balancer.public RegisterInstancesWithLoadBalancerResult withInstances(Instance... instances)
The updated list of instances for the load balancer.
NOTE: This method appends the values to the existing list (if
any). Use setInstances(java.util.Collection)
or
withInstances(java.util.Collection)
if you want to override the
existing values.
instances
- The updated list of instances for the load balancer.public RegisterInstancesWithLoadBalancerResult withInstances(Collection<Instance> instances)
The updated list of instances for the load balancer.
instances
- The updated list of instances for the load balancer.public String toString()
toString
in class Object
Object.toString()
public RegisterInstancesWithLoadBalancerResult clone()
Copyright © 2016. All rights reserved.