public class RegisterInstancesWithLoadBalancerResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<Instance> |
instances
The updated list of instances for the load balancer.
|
Constructor and Description |
---|
RegisterInstancesWithLoadBalancerResult() |
Modifier and Type | Method and Description |
---|---|
RegisterInstancesWithLoadBalancerResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<Instance> |
getInstances()
The updated list of instances for the load balancer.
|
int |
hashCode() |
void |
setInstances(java.util.Collection<Instance> instances)
The updated list of instances for the load balancer.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RegisterInstancesWithLoadBalancerResult |
withInstances(java.util.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.
|
private SdkInternalList<Instance> instances
The updated list of instances for the load balancer.
public RegisterInstancesWithLoadBalancerResult()
public java.util.List<Instance> getInstances()
The updated list of instances for the load balancer.
public void setInstances(java.util.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(java.util.Collection<Instance> instances)
The updated list of instances for the load balancer.
instances
- The updated list of instances for the load balancer.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public RegisterInstancesWithLoadBalancerResult clone()
clone
in class java.lang.Object