com.amazonaws.services.elasticloadbalancing.model
Class AttachLoadBalancerToSubnetsResult

java.lang.Object
  extended by com.amazonaws.services.elasticloadbalancing.model.AttachLoadBalancerToSubnetsResult
All Implemented Interfaces:
Serializable

public class AttachLoadBalancerToSubnetsResult
extends Object
implements Serializable

The output for the AttachLoadBalancerToSubnets action.

See Also:
Serialized Form

Constructor Summary
AttachLoadBalancerToSubnetsResult()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AttachLoadBalancerToSubnetsResult

public AttachLoadBalancerToSubnetsResult()
Method Detail

getSubnets

public List<String> getSubnets()
A list of subnet IDs attached to the load balancer.

Returns:
A list of subnet IDs attached to the load balancer.

setSubnets

public void setSubnets(Collection<String> subnets)
A list of subnet IDs attached to the load balancer.

Parameters:
subnets - A list of subnet IDs attached to the load balancer.

withSubnets

public AttachLoadBalancerToSubnetsResult withSubnets(String... subnets)
A list of subnet IDs attached to the load balancer.

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

Parameters:
subnets - A list of subnet IDs attached to the load balancer.
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 attached to the load balancer.

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

Parameters:
subnets - A list of subnet IDs attached to the load balancer.
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 © 2016. All rights reserved.