public class AttachLoadBalancerToSubnetsResult extends Object implements Serializable, Cloneable
Constructor and Description |
---|
AttachLoadBalancerToSubnetsResult() |
Modifier and Type | Method and Description |
---|---|
AttachLoadBalancerToSubnetsResult |
clone() |
boolean |
equals(Object obj) |
List<String> |
getSubnets()
The IDs of the subnets attached to the load balancer.
|
int |
hashCode() |
void |
setSubnets(Collection<String> subnets)
The IDs of the subnets attached to the load balancer.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AttachLoadBalancerToSubnetsResult |
withSubnets(Collection<String> subnets)
The IDs of the subnets attached to the load balancer.
|
AttachLoadBalancerToSubnetsResult |
withSubnets(String... subnets)
The IDs of the subnets attached to the load balancer.
|
public List<String> getSubnets()
public void setSubnets(Collection<String> subnets)
subnets
- The IDs of the subnets attached to the load balancer.public AttachLoadBalancerToSubnetsResult withSubnets(String... subnets)
NOTE: This method appends the values to the existing list (if
any). Use setSubnets(java.util.Collection)
or withSubnets(java.util.Collection)
if you want to override the
existing values.
Returns a reference to this object so that method calls can be chained together.
subnets
- The IDs of the subnets attached to the load balancer.public AttachLoadBalancerToSubnetsResult withSubnets(Collection<String> subnets)
Returns a reference to this object so that method calls can be chained together.
subnets
- The IDs of the subnets attached to the load balancer.public String toString()
toString
in class Object
Object.toString()
public AttachLoadBalancerToSubnetsResult clone()
Copyright © 2015. All rights reserved.