@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EnableAvailabilityZonesForLoadBalancerRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Contains the parameters for EnableAvailabilityZonesForLoadBalancer.
NOOP
Constructor and Description |
---|
EnableAvailabilityZonesForLoadBalancerRequest()
Default constructor for EnableAvailabilityZonesForLoadBalancerRequest object.
|
EnableAvailabilityZonesForLoadBalancerRequest(String loadBalancerName,
List<String> availabilityZones)
Constructs a new EnableAvailabilityZonesForLoadBalancerRequest object.
|
Modifier and Type | Method and Description |
---|---|
EnableAvailabilityZonesForLoadBalancerRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getAvailabilityZones()
The Availability Zones.
|
String |
getLoadBalancerName()
The name of the load balancer.
|
int |
hashCode() |
void |
setAvailabilityZones(Collection<String> availabilityZones)
The Availability Zones.
|
void |
setLoadBalancerName(String loadBalancerName)
The name of the load balancer.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
EnableAvailabilityZonesForLoadBalancerRequest |
withAvailabilityZones(Collection<String> availabilityZones)
The Availability Zones.
|
EnableAvailabilityZonesForLoadBalancerRequest |
withAvailabilityZones(String... availabilityZones)
The Availability Zones.
|
EnableAvailabilityZonesForLoadBalancerRequest |
withLoadBalancerName(String loadBalancerName)
The name of the load balancer.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public EnableAvailabilityZonesForLoadBalancerRequest()
public EnableAvailabilityZonesForLoadBalancerRequest(String loadBalancerName, List<String> availabilityZones)
loadBalancerName
- The name of the load balancer.availabilityZones
- The Availability Zones. These must be in the same region as the load balancer.public void setLoadBalancerName(String loadBalancerName)
The name of the load balancer.
loadBalancerName
- The name of the load balancer.public String getLoadBalancerName()
The name of the load balancer.
public EnableAvailabilityZonesForLoadBalancerRequest withLoadBalancerName(String loadBalancerName)
The name of the load balancer.
loadBalancerName
- The name of the load balancer.public List<String> getAvailabilityZones()
The Availability Zones. These must be in the same region as the load balancer.
public void setAvailabilityZones(Collection<String> availabilityZones)
The Availability Zones. These must be in the same region as the load balancer.
availabilityZones
- The Availability Zones. These must be in the same region as the load balancer.public EnableAvailabilityZonesForLoadBalancerRequest withAvailabilityZones(String... availabilityZones)
The Availability Zones. These must be in the same region as the load balancer.
NOTE: This method appends the values to the existing list (if any). Use
setAvailabilityZones(java.util.Collection)
or withAvailabilityZones(java.util.Collection)
if
you want to override the existing values.
availabilityZones
- The Availability Zones. These must be in the same region as the load balancer.public EnableAvailabilityZonesForLoadBalancerRequest withAvailabilityZones(Collection<String> availabilityZones)
The Availability Zones. These must be in the same region as the load balancer.
availabilityZones
- The Availability Zones. These must be in the same region as the load balancer.public String toString()
toString
in class Object
Object.toString()
public EnableAvailabilityZonesForLoadBalancerRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.