public class AttachLoadBalancerToSubnetsResult extends Object implements Serializable
The output for the AttachLoadBalancerToSubnets action.
Constructor and Description |
---|
AttachLoadBalancerToSubnetsResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<String> |
getSubnets()
A list of subnet IDs attached to the load balancer.
|
int |
hashCode() |
void |
setSubnets(Collection<String> subnets)
A list of subnet IDs attached to the load balancer.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AttachLoadBalancerToSubnetsResult |
withSubnets(Collection<String> subnets)
A list of subnet IDs attached to the load balancer.
|
AttachLoadBalancerToSubnetsResult |
withSubnets(String... subnets)
A list of subnet IDs attached to the load balancer.
|
public List<String> getSubnets()
public void setSubnets(Collection<String> subnets)
subnets
- A list of subnet IDs attached to the load balancer.public AttachLoadBalancerToSubnetsResult withSubnets(String... subnets)
Returns a reference to this object so that method calls can be chained together.
subnets
- A list of subnet IDs 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
- A list of subnet IDs attached to the load balancer.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.