com.amazonaws.services.elasticloadbalancing.model
Class DetachLoadBalancerFromSubnetsRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.elasticloadbalancing.model.DetachLoadBalancerFromSubnetsRequest

public class DetachLoadBalancerFromSubnetsRequest
extends AmazonWebServiceRequest

Container for the parameters to the DetachLoadBalancerFromSubnets operation.

Removes subnets from the set of configured subnets in the VPC for the LoadBalancer.

After a subnet is removed all of the EndPoints registered with the LoadBalancer that are in the removed subnet will go into the OutOfService state. When a subnet is removed, the LoadBalancer will balance the traffic among the remaining routable subnets for the LoadBalancer.

See Also:
AmazonElasticLoadBalancing.detachLoadBalancerFromSubnets(DetachLoadBalancerFromSubnetsRequest)

Constructor Summary
DetachLoadBalancerFromSubnetsRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getLoadBalancerName()
          The name associated with the LoadBalancer to be detached.
 List<String> getSubnets()
          A list of subnet IDs to remove from the set of configured subnets for the LoadBalancer.
 int hashCode()
           
 void setLoadBalancerName(String loadBalancerName)
          The name associated with the LoadBalancer to be detached.
 void setSubnets(Collection<String> subnets)
          A list of subnet IDs to remove from the set of configured subnets for the LoadBalancer.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DetachLoadBalancerFromSubnetsRequest withLoadBalancerName(String loadBalancerName)
          The name associated with the LoadBalancer to be detached.
 DetachLoadBalancerFromSubnetsRequest withSubnets(Collection<String> subnets)
          A list of subnet IDs to remove from the set of configured subnets for the LoadBalancer.
 DetachLoadBalancerFromSubnetsRequest withSubnets(String... subnets)
          A list of subnet IDs to remove from the set of configured subnets for the LoadBalancer.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DetachLoadBalancerFromSubnetsRequest

public DetachLoadBalancerFromSubnetsRequest()
Method Detail

getLoadBalancerName

public String getLoadBalancerName()
The name associated with the LoadBalancer to be detached. The name must be unique within the client AWS account.

Returns:
The name associated with the LoadBalancer to be detached. The name must be unique within the client AWS account.

setLoadBalancerName

public void setLoadBalancerName(String loadBalancerName)
The name associated with the LoadBalancer to be detached. The name must be unique within the client AWS account.

Parameters:
loadBalancerName - The name associated with the LoadBalancer to be detached. The name must be unique within the client AWS account.

withLoadBalancerName

public DetachLoadBalancerFromSubnetsRequest withLoadBalancerName(String loadBalancerName)
The name associated with the LoadBalancer to be detached. The name must be unique within the client AWS account.

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

Parameters:
loadBalancerName - The name associated with the LoadBalancer to be detached. The name must be unique within the client AWS account.
Returns:
A reference to this updated object so that method calls can be chained together.

getSubnets

public List<String> getSubnets()
A list of subnet IDs to remove from the set of configured subnets for the LoadBalancer.

Returns:
A list of subnet IDs to remove from the set of configured subnets for the LoadBalancer.

setSubnets

public void setSubnets(Collection<String> subnets)
A list of subnet IDs to remove from the set of configured subnets for the LoadBalancer.

Parameters:
subnets - A list of subnet IDs to remove from the set of configured subnets for the LoadBalancer.

withSubnets

public DetachLoadBalancerFromSubnetsRequest withSubnets(String... subnets)
A list of subnet IDs to remove from the set of configured subnets for the LoadBalancer.

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

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

withSubnets

public DetachLoadBalancerFromSubnetsRequest withSubnets(Collection<String> subnets)
A list of subnet IDs to remove from the set of configured subnets for the LoadBalancer.

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

Parameters:
subnets - A list of subnet IDs to remove from the set of configured subnets 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.