public class EnableAvailabilityZonesForLoadBalancerRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<java.lang.String> |
availabilityZones
The Availability Zones.
|
private java.lang.String |
loadBalancerName
The name of the load balancer.
|
NOOP
Constructor and Description |
---|
EnableAvailabilityZonesForLoadBalancerRequest()
Default constructor for EnableAvailabilityZonesForLoadBalancerRequest
object.
|
EnableAvailabilityZonesForLoadBalancerRequest(java.lang.String loadBalancerName,
java.util.List<java.lang.String> availabilityZones)
Constructs a new EnableAvailabilityZonesForLoadBalancerRequest object.
|
Modifier and Type | Method and Description |
---|---|
EnableAvailabilityZonesForLoadBalancerRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getAvailabilityZones()
The Availability Zones.
|
java.lang.String |
getLoadBalancerName()
The name of the load balancer.
|
int |
hashCode() |
void |
setAvailabilityZones(java.util.Collection<java.lang.String> availabilityZones)
The Availability Zones.
|
void |
setLoadBalancerName(java.lang.String loadBalancerName)
The name of 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)
The Availability Zones.
|
EnableAvailabilityZonesForLoadBalancerRequest |
withAvailabilityZones(java.lang.String... availabilityZones)
The Availability Zones.
|
EnableAvailabilityZonesForLoadBalancerRequest |
withLoadBalancerName(java.lang.String loadBalancerName)
The name of the load balancer.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String loadBalancerName
The name of the load balancer.
private SdkInternalList<java.lang.String> availabilityZones
The Availability Zones. These must be in the same region as the load balancer.
public EnableAvailabilityZonesForLoadBalancerRequest()
public EnableAvailabilityZonesForLoadBalancerRequest(java.lang.String loadBalancerName, java.util.List<java.lang.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(java.lang.String loadBalancerName)
The name of the load balancer.
loadBalancerName
- The name of the load balancer.public java.lang.String getLoadBalancerName()
The name of the load balancer.
public EnableAvailabilityZonesForLoadBalancerRequest withLoadBalancerName(java.lang.String loadBalancerName)
The name of the load balancer.
loadBalancerName
- The name of the load balancer.public java.util.List<java.lang.String> getAvailabilityZones()
The Availability Zones. These must be in the same region as the load balancer.
public void setAvailabilityZones(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public EnableAvailabilityZonesForLoadBalancerRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()