com.amazonaws.services.elasticloadbalancing.model
Class AttachLoadBalancerToSubnetsResult

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

public class AttachLoadBalancerToSubnetsResult
extends java.lang.Object
implements java.io.Serializable

The output for the AttachLoadBalancerToSubnets action.

See Also:
Serialized Form

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

Constructor Detail

AttachLoadBalancerToSubnetsResult

public AttachLoadBalancerToSubnetsResult()
Method Detail

getSubnets

public java.util.List<java.lang.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(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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 java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

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

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


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