|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.elasticloadbalancing.model.DetachLoadBalancerFromSubnetsRequest
public class DetachLoadBalancerFromSubnetsRequest
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.
AmazonElasticLoadBalancing.detachLoadBalancerFromSubnets(DetachLoadBalancerFromSubnetsRequest)
Constructor Summary | |
---|---|
DetachLoadBalancerFromSubnetsRequest()
|
Method Summary | |
---|---|
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. |
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, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DetachLoadBalancerFromSubnetsRequest()
Method Detail |
---|
public String getLoadBalancerName()
public void setLoadBalancerName(String loadBalancerName)
loadBalancerName
- The name associated with the LoadBalancer to be detached. The name
must be unique within the client AWS account.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 LoadBalancer to be detached. The name
must be unique within the client AWS account.
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 LoadBalancer.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 LoadBalancer.
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 LoadBalancer.
public String toString()
toString
in class Object
Object.toString()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |