public class DetachLoadBalancerFromSubnetsRequest extends AmazonWebServiceRequest implements java.io.Serializable
Removes the specified subnets from the set of configured subnets for the load balancer.
After a subnet is removed, all EC2 instances registered with the load
balancer in the removed subnet go into the OutOfService
state.
Then, the load balancer balances the traffic among the remaining routable
subnets.
Constructor and Description |
---|
DetachLoadBalancerFromSubnetsRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getLoadBalancerName()
The name of the load balancer.
|
java.util.List<java.lang.String> |
getSubnets()
The IDs of the subnets.
|
int |
hashCode() |
void |
setLoadBalancerName(java.lang.String loadBalancerName)
The name of the load balancer.
|
void |
setSubnets(java.util.Collection<java.lang.String> subnets)
The IDs of the subnets.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DetachLoadBalancerFromSubnetsRequest |
withLoadBalancerName(java.lang.String loadBalancerName)
The name of the load balancer.
|
DetachLoadBalancerFromSubnetsRequest |
withSubnets(java.util.Collection<java.lang.String> subnets)
The IDs of the subnets.
|
DetachLoadBalancerFromSubnetsRequest |
withSubnets(java.lang.String... subnets)
The IDs of the subnets.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public DetachLoadBalancerFromSubnetsRequest()
public java.lang.String getLoadBalancerName()
The name of the load balancer.
The name of the load balancer.
public void setLoadBalancerName(java.lang.String loadBalancerName)
The name of the load balancer.
loadBalancerName
- The name of the load balancer.
public DetachLoadBalancerFromSubnetsRequest withLoadBalancerName(java.lang.String loadBalancerName)
The name of the load balancer.
Returns a reference to this object so that method calls can be chained together.
loadBalancerName
- The name of the load balancer.
public java.util.List<java.lang.String> getSubnets()
The IDs of the subnets.
The IDs of the subnets.
public void setSubnets(java.util.Collection<java.lang.String> subnets)
The IDs of the subnets.
subnets
- The IDs of the subnets.
public DetachLoadBalancerFromSubnetsRequest withSubnets(java.lang.String... subnets)
The IDs of the subnets.
Returns a reference to this object so that method calls can be chained together.
subnets
- The IDs of the subnets.
public DetachLoadBalancerFromSubnetsRequest withSubnets(java.util.Collection<java.lang.String> subnets)
The IDs of the subnets.
Returns a reference to this object so that method calls can be chained together.
subnets
- The IDs of the subnets.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.