public class DetachLoadBalancersRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DetachLoadBalancers operation.
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.
NOOP| Constructor and Description |
|---|
DetachLoadBalancersRequest() |
| Modifier and Type | Method and Description |
|---|---|
DetachLoadBalancersRequest |
clone() |
boolean |
equals(Object obj) |
String |
getAutoScalingGroupName()
The name of the group.
|
List<String> |
getLoadBalancerNames()
One or more load balancer names.
|
int |
hashCode() |
void |
setAutoScalingGroupName(String autoScalingGroupName)
The name of the group.
|
void |
setLoadBalancerNames(Collection<String> loadBalancerNames)
One or more load balancer names.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DetachLoadBalancersRequest |
withAutoScalingGroupName(String autoScalingGroupName)
The name of the group.
|
DetachLoadBalancersRequest |
withLoadBalancerNames(Collection<String> loadBalancerNames)
One or more load balancer names.
|
DetachLoadBalancersRequest |
withLoadBalancerNames(String... loadBalancerNames)
One or more load balancer names.
|
copyBaseTo, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getAutoScalingGroupName()
Constraints:
Length: 1 - 1600
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setAutoScalingGroupName(String autoScalingGroupName)
Constraints:
Length: 1 - 1600
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
autoScalingGroupName - The name of the group.public DetachLoadBalancersRequest withAutoScalingGroupName(String autoScalingGroupName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1600
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
autoScalingGroupName - The name of the group.public List<String> getLoadBalancerNames()
public void setLoadBalancerNames(Collection<String> loadBalancerNames)
loadBalancerNames - One or more load balancer names.public DetachLoadBalancersRequest withLoadBalancerNames(String... loadBalancerNames)
NOTE: This method appends the values to the existing list (if
any). Use setLoadBalancerNames(java.util.Collection) or
withLoadBalancerNames(java.util.Collection) if you want to
override the existing values.
Returns a reference to this object so that method calls can be chained together.
loadBalancerNames - One or more load balancer names.public DetachLoadBalancersRequest withLoadBalancerNames(Collection<String> loadBalancerNames)
Returns a reference to this object so that method calls can be chained together.
loadBalancerNames - One or more load balancer names.public String toString()
toString in class ObjectObject.toString()public DetachLoadBalancersRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2015. All rights reserved.