|
|||||||
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.DisableAvailabilityZonesForLoadBalancerRequest
public class DisableAvailabilityZonesForLoadBalancerRequest
Container for the parameters to the DisableAvailabilityZonesForLoadBalancer operation
.
Removes the specified EC2 Availability Zones from the set of configured Availability Zones for the load balancer.
There must be at least one Availability Zone registered with a load balancer at all times. Once an Availability Zone is removed, all the instances registered with the load balancer that are in the removed Availability Zone go into the OutOfService state. Upon Availability Zone removal, the load balancer attempts to equally balance the traffic among its remaining usable Availability Zones. Trying to remove an Availability Zone that was not associated with the load balancer does nothing.
For more information, see Disable an Availability Zone from a Load-Balanced Application in the Elastic Load Balancing Developer Guide .
AmazonElasticLoadBalancing.disableAvailabilityZonesForLoadBalancer(DisableAvailabilityZonesForLoadBalancerRequest)
,
Serialized FormConstructor Summary | |
---|---|
DisableAvailabilityZonesForLoadBalancerRequest()
Default constructor for a new DisableAvailabilityZonesForLoadBalancerRequest object. |
|
DisableAvailabilityZonesForLoadBalancerRequest(java.lang.String loadBalancerName,
java.util.List<java.lang.String> availabilityZones)
Constructs a new DisableAvailabilityZonesForLoadBalancerRequest object. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.util.List<java.lang.String> |
getAvailabilityZones()
A list of Availability Zones to be removed from the load balancer. |
java.lang.String |
getLoadBalancerName()
The name associated with the load balancer. |
int |
hashCode()
|
void |
setAvailabilityZones(java.util.Collection<java.lang.String> availabilityZones)
A list of Availability Zones to be removed from the load balancer. |
void |
setLoadBalancerName(java.lang.String loadBalancerName)
The name associated with the load balancer. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
DisableAvailabilityZonesForLoadBalancerRequest |
withAvailabilityZones(java.util.Collection<java.lang.String> availabilityZones)
A list of Availability Zones to be removed from the load balancer. |
DisableAvailabilityZonesForLoadBalancerRequest |
withAvailabilityZones(java.lang.String... availabilityZones)
A list of Availability Zones to be removed from the load balancer. |
DisableAvailabilityZonesForLoadBalancerRequest |
withLoadBalancerName(java.lang.String loadBalancerName)
The name associated with 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 DisableAvailabilityZonesForLoadBalancerRequest()
public DisableAvailabilityZonesForLoadBalancerRequest(java.lang.String loadBalancerName, java.util.List<java.lang.String> availabilityZones)
loadBalancerName
- The name associated with the load balancer.availabilityZones
- A list of Availability Zones to be removed
from the load balancer. Method Detail |
---|
public java.lang.String getLoadBalancerName()
public void setLoadBalancerName(java.lang.String loadBalancerName)
loadBalancerName
- The name associated with the load balancer.public DisableAvailabilityZonesForLoadBalancerRequest 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.
public java.util.List<java.lang.String> getAvailabilityZones()
public void setAvailabilityZones(java.util.Collection<java.lang.String> availabilityZones)
availabilityZones
- A list of Availability Zones to be removed from the load balancer.
public DisableAvailabilityZonesForLoadBalancerRequest withAvailabilityZones(java.lang.String... availabilityZones)
Returns a reference to this object so that method calls can be chained together.
availabilityZones
- A list of Availability Zones to be removed from the load balancer.
public DisableAvailabilityZonesForLoadBalancerRequest withAvailabilityZones(java.util.Collection<java.lang.String> availabilityZones)
Returns a reference to this object so that method calls can be chained together.
availabilityZones
- A list of Availability Zones to be removed from 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 |