|
|||||||
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.EnableAvailabilityZonesForLoadBalancerRequest
public class EnableAvailabilityZonesForLoadBalancerRequest
Container for the parameters to the EnableAvailabilityZonesForLoadBalancer operation
.
Adds one or more EC2 Availability Zones to the load balancer.
The load balancer evenly distributes requests across all its registered Availability Zones that contain instances.
NOTE: The new EC2 Availability Zones to be added must be in the same EC2 Region as the Availability Zones for which the load balancer was created.
For more information, see Expand a Load Balanced Application to an Additional Availability Zone in the Elastic Load Balancing Developer Guide .
AmazonElasticLoadBalancing.enableAvailabilityZonesForLoadBalancer(EnableAvailabilityZonesForLoadBalancerRequest)
,
Serialized FormConstructor Summary | |
---|---|
EnableAvailabilityZonesForLoadBalancerRequest()
Default constructor for a new EnableAvailabilityZonesForLoadBalancerRequest object. |
|
EnableAvailabilityZonesForLoadBalancerRequest(java.lang.String loadBalancerName,
java.util.List<java.lang.String> availabilityZones)
Constructs a new EnableAvailabilityZonesForLoadBalancerRequest object. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.util.List<java.lang.String> |
getAvailabilityZones()
A list of new Availability Zones for 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 new Availability Zones for 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. |
EnableAvailabilityZonesForLoadBalancerRequest |
withAvailabilityZones(java.util.Collection<java.lang.String> availabilityZones)
A list of new Availability Zones for the load balancer. |
EnableAvailabilityZonesForLoadBalancerRequest |
withAvailabilityZones(java.lang.String... availabilityZones)
A list of new Availability Zones for the load balancer. |
EnableAvailabilityZonesForLoadBalancerRequest |
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 EnableAvailabilityZonesForLoadBalancerRequest()
public EnableAvailabilityZonesForLoadBalancerRequest(java.lang.String loadBalancerName, java.util.List<java.lang.String> availabilityZones)
loadBalancerName
- The name associated with the load balancer.availabilityZones
- A list of new Availability Zones for the load
balancer. Each Availability Zone must be in the same region as 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 EnableAvailabilityZonesForLoadBalancerRequest 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 new Availability Zones for the load balancer. Each
Availability Zone must be in the same region as the load balancer.public EnableAvailabilityZonesForLoadBalancerRequest withAvailabilityZones(java.lang.String... availabilityZones)
Returns a reference to this object so that method calls can be chained together.
availabilityZones
- A list of new Availability Zones for the load balancer. Each
Availability Zone must be in the same region as the load balancer.
public EnableAvailabilityZonesForLoadBalancerRequest 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 new Availability Zones for the load balancer. Each
Availability Zone must be in the same region as 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 |