public class DetachLoadBalancersRequest extends AmazonWebServiceRequest implements java.io.Serializable
Removes one or more load balancers from the specified Auto Scaling group.
When you detach a load balancer, it enters the Removing
state
while deregistering the instances in the group. When all instances are
deregistered, then you can no longer describe the load balancer using
DescribeLoadBalancers. Note that the instances remain running.
Constructor and Description |
---|
DetachLoadBalancersRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAutoScalingGroupName()
The name of the group.
|
java.util.List<java.lang.String> |
getLoadBalancerNames()
One or more load balancer names.
|
int |
hashCode() |
void |
setAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name of the group.
|
void |
setLoadBalancerNames(java.util.Collection<java.lang.String> loadBalancerNames)
One or more load balancer names.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DetachLoadBalancersRequest |
withAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name of the group.
|
DetachLoadBalancersRequest |
withLoadBalancerNames(java.util.Collection<java.lang.String> loadBalancerNames)
One or more load balancer names.
|
DetachLoadBalancersRequest |
withLoadBalancerNames(java.lang.String... loadBalancerNames)
One or more load balancer names.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getAutoScalingGroupName()
The name of the group.
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
The name of the group.
public void setAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name of the group.
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
autoScalingGroupName
- The name of the group.
public DetachLoadBalancersRequest withAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name of the group.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
autoScalingGroupName
- The name of the group.
public java.util.List<java.lang.String> getLoadBalancerNames()
One or more load balancer names.
One or more load balancer names.
public void setLoadBalancerNames(java.util.Collection<java.lang.String> loadBalancerNames)
One or more load balancer names.
loadBalancerNames
- One or more load balancer names.
public DetachLoadBalancersRequest withLoadBalancerNames(java.lang.String... loadBalancerNames)
One or more load balancer names.
Returns a reference to this object so that method calls can be chained together.
loadBalancerNames
- One or more load balancer names.
public DetachLoadBalancersRequest withLoadBalancerNames(java.util.Collection<java.lang.String> loadBalancerNames)
One or more load balancer names.
Returns a reference to this object so that method calls can be chained together.
loadBalancerNames
- One or more load balancer names.
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.