public class DetachLoadBalancerFromSubnetsRequest extends AmazonWebServiceRequest implements 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(Object obj) |
String |
getLoadBalancerName()
The name of the load balancer.
|
List<String> |
getSubnets()
The IDs of the subnets.
|
int |
hashCode() |
void |
setLoadBalancerName(String loadBalancerName)
The name of the load balancer.
|
void |
setSubnets(Collection<String> subnets)
The IDs of the subnets.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DetachLoadBalancerFromSubnetsRequest |
withLoadBalancerName(String loadBalancerName)
The name of the load balancer.
|
DetachLoadBalancerFromSubnetsRequest |
withSubnets(Collection<String> subnets)
The IDs of the subnets.
|
DetachLoadBalancerFromSubnetsRequest |
withSubnets(String... subnets)
The IDs of the subnets.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic DetachLoadBalancerFromSubnetsRequest()
public String getLoadBalancerName()
The name of the load balancer.
The name of the load balancer.
public void setLoadBalancerName(String loadBalancerName)
The name of the load balancer.
loadBalancerName - The name of the load balancer.
public DetachLoadBalancerFromSubnetsRequest withLoadBalancerName(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 List<String> getSubnets()
The IDs of the subnets.
The IDs of the subnets.
public void setSubnets(Collection<String> subnets)
The IDs of the subnets.
subnets - The IDs of the subnets.
public DetachLoadBalancerFromSubnetsRequest withSubnets(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(Collection<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 String toString()
toString in class ObjectObject.toString()Copyright © 2018. All rights reserved.