|
|||||||
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 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.
AmazonElasticLoadBalancing.detachLoadBalancerFromSubnets(DetachLoadBalancerFromSubnetsRequest)
,
Serialized FormConstructor Summary | |
---|---|
DetachLoadBalancerFromSubnetsRequest()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getLoadBalancerName()
The name associated with the load balancer to be detached. |
java.util.List<java.lang.String> |
getSubnets()
A list of subnet IDs to remove from the set of configured subnets for the load balancer. |
int |
hashCode()
|
void |
setLoadBalancerName(java.lang.String loadBalancerName)
The name associated with the load balancer to be detached. |
void |
setSubnets(java.util.Collection<java.lang.String> subnets)
A list of subnet IDs to remove from the set of configured subnets for the load balancer. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
DetachLoadBalancerFromSubnetsRequest |
withLoadBalancerName(java.lang.String loadBalancerName)
The name associated with the load balancer to be detached. |
DetachLoadBalancerFromSubnetsRequest |
withSubnets(java.util.Collection<java.lang.String> subnets)
A list of subnet IDs to remove from the set of configured subnets for the load balancer. |
DetachLoadBalancerFromSubnetsRequest |
withSubnets(java.lang.String... subnets)
A list of subnet IDs to remove from the set of configured subnets for the load balancer. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DetachLoadBalancerFromSubnetsRequest()
Method Detail |
---|
public java.lang.String getLoadBalancerName()
public void setLoadBalancerName(java.lang.String loadBalancerName)
loadBalancerName
- The name associated with the load balancer to be detached.public DetachLoadBalancerFromSubnetsRequest withLoadBalancerName(java.lang.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 java.util.List<java.lang.String> getSubnets()
public void setSubnets(java.util.Collection<java.lang.String> subnets)
subnets
- A list of subnet IDs to remove from the set of configured subnets for
the load balancer.public DetachLoadBalancerFromSubnetsRequest withSubnets(java.lang.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(java.util.Collection<java.lang.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 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
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |