public class DetachLoadBalancerFromSubnetsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DetachLoadBalancerFromSubnets operation.
Removes subnets from the set of configured subnets in the Amazon Virtual Private Cloud (Amazon VPC) for the load balancer.
After a subnet is removed all of the EC2 instances registered with the load balancer that are in the removed subnet will go into the OutOfService state. When a subnet is removed, the load balancer will balance the traffic among the remaining routable subnets for the load balancer.
NOOP| Constructor and Description |
|---|
DetachLoadBalancerFromSubnetsRequest() |
| Modifier and Type | Method and Description |
|---|---|
DetachLoadBalancerFromSubnetsRequest |
clone() |
boolean |
equals(Object obj) |
String |
getLoadBalancerName()
The name associated with the load balancer to be detached.
|
List<String> |
getSubnets()
A list of subnet IDs to remove from the set of configured subnets for
the load balancer.
|
int |
hashCode() |
void |
setLoadBalancerName(String loadBalancerName)
The name associated with the load balancer to be detached.
|
void |
setSubnets(Collection<String> subnets)
A list of subnet IDs to remove from the set of configured subnets for
the load balancer.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DetachLoadBalancerFromSubnetsRequest |
withLoadBalancerName(String loadBalancerName)
The name associated with the load balancer to be detached.
|
DetachLoadBalancerFromSubnetsRequest |
withSubnets(Collection<String> subnets)
A list of subnet IDs to remove from the set of configured subnets for
the load balancer.
|
DetachLoadBalancerFromSubnetsRequest |
withSubnets(String... subnets)
A list of subnet IDs to remove from the set of configured subnets for
the load balancer.
|
copyBaseTo, copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic DetachLoadBalancerFromSubnetsRequest()
public String getLoadBalancerName()
public void setLoadBalancerName(String loadBalancerName)
loadBalancerName - The name associated with the load balancer to be detached.public DetachLoadBalancerFromSubnetsRequest withLoadBalancerName(String loadBalancerName)
Returns a reference to this object so that method calls can be chained together.
loadBalancerName - The name associated with the load balancer to be detached.public List<String> getSubnets()
public void setSubnets(Collection<String> subnets)
subnets - A list of subnet IDs to remove from the set of configured subnets for
the load balancer.public DetachLoadBalancerFromSubnetsRequest withSubnets(String... subnets)
Returns a reference to this object so that method calls can be chained together.
subnets - A list of subnet IDs to remove from the set of configured subnets for
the load balancer.public DetachLoadBalancerFromSubnetsRequest withSubnets(Collection<String> subnets)
Returns a reference to this object so that method calls can be chained together.
subnets - A list of subnet IDs to remove from the set of configured subnets for
the load balancer.public String toString()
toString in class ObjectObject.toString()public DetachLoadBalancerFromSubnetsRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2015. All rights reserved.