com.amazonaws.services.elasticloadbalancing.model
Class AttachLoadBalancerToSubnetsResult

java.lang.Object
  extended by com.amazonaws.services.elasticloadbalancing.model.AttachLoadBalancerToSubnetsResult

public class AttachLoadBalancerToSubnetsResult
extends Object

The output for the AttachLoadBalancerToSubnets action.


Constructor Summary
AttachLoadBalancerToSubnetsResult()
           
 
Method Summary
 boolean equals(Object obj)
           
 List<String> getSubnets()
          A list of subnet IDs added for the LoadBalancer.
 int hashCode()
           
 void setSubnets(Collection<String> subnets)
          A list of subnet IDs added for the LoadBalancer.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 AttachLoadBalancerToSubnetsResult withSubnets(Collection<String> subnets)
          A list of subnet IDs added for the LoadBalancer.
 AttachLoadBalancerToSubnetsResult withSubnets(String... subnets)
          A list of subnet IDs added for the LoadBalancer.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AttachLoadBalancerToSubnetsResult

public AttachLoadBalancerToSubnetsResult()
Method Detail

getSubnets

public List<String> getSubnets()
A list of subnet IDs added for the LoadBalancer.

Returns:
A list of subnet IDs added for the LoadBalancer.

setSubnets

public void setSubnets(Collection<String> subnets)
A list of subnet IDs added for the LoadBalancer.

Parameters:
subnets - A list of subnet IDs added for the LoadBalancer.

withSubnets

public AttachLoadBalancerToSubnetsResult withSubnets(String... subnets)
A list of subnet IDs added for the LoadBalancer.

Returns a reference to this object so that method calls can be chained together.

Parameters:
subnets - A list of subnet IDs added for the LoadBalancer.
Returns:
A reference to this updated object so that method calls can be chained together.

withSubnets

public AttachLoadBalancerToSubnetsResult withSubnets(Collection<String> subnets)
A list of subnet IDs added for the LoadBalancer.

Returns a reference to this object so that method calls can be chained together.

Parameters:
subnets - A list of subnet IDs added for the LoadBalancer.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.