@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AvailabilityZone extends Object implements Serializable, Cloneable
Information about an Availability Zone.
Constructor and Description |
---|
AvailabilityZone() |
Modifier and Type | Method and Description |
---|---|
AvailabilityZone |
clone() |
boolean |
equals(Object obj) |
List<LoadBalancerAddress> |
getLoadBalancerAddresses()
[Network Load Balancers] The static IP address.
|
String |
getSubnetId()
The ID of the subnet.
|
String |
getZoneName()
The name of the Availability Zone.
|
int |
hashCode() |
void |
setLoadBalancerAddresses(Collection<LoadBalancerAddress> loadBalancerAddresses)
[Network Load Balancers] The static IP address.
|
void |
setSubnetId(String subnetId)
The ID of the subnet.
|
void |
setZoneName(String zoneName)
The name of the Availability Zone.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
AvailabilityZone |
withLoadBalancerAddresses(Collection<LoadBalancerAddress> loadBalancerAddresses)
[Network Load Balancers] The static IP address.
|
AvailabilityZone |
withLoadBalancerAddresses(LoadBalancerAddress... loadBalancerAddresses)
[Network Load Balancers] The static IP address.
|
AvailabilityZone |
withSubnetId(String subnetId)
The ID of the subnet.
|
AvailabilityZone |
withZoneName(String zoneName)
The name of the Availability Zone.
|
public void setZoneName(String zoneName)
The name of the Availability Zone.
zoneName
- The name of the Availability Zone.public String getZoneName()
The name of the Availability Zone.
public AvailabilityZone withZoneName(String zoneName)
The name of the Availability Zone.
zoneName
- The name of the Availability Zone.public void setSubnetId(String subnetId)
The ID of the subnet.
subnetId
- The ID of the subnet.public String getSubnetId()
The ID of the subnet.
public AvailabilityZone withSubnetId(String subnetId)
The ID of the subnet.
subnetId
- The ID of the subnet.public List<LoadBalancerAddress> getLoadBalancerAddresses()
[Network Load Balancers] The static IP address.
public void setLoadBalancerAddresses(Collection<LoadBalancerAddress> loadBalancerAddresses)
[Network Load Balancers] The static IP address.
loadBalancerAddresses
- [Network Load Balancers] The static IP address.public AvailabilityZone withLoadBalancerAddresses(LoadBalancerAddress... loadBalancerAddresses)
[Network Load Balancers] The static IP address.
NOTE: This method appends the values to the existing list (if any). Use
setLoadBalancerAddresses(java.util.Collection)
or
withLoadBalancerAddresses(java.util.Collection)
if you want to override the existing values.
loadBalancerAddresses
- [Network Load Balancers] The static IP address.public AvailabilityZone withLoadBalancerAddresses(Collection<LoadBalancerAddress> loadBalancerAddresses)
[Network Load Balancers] The static IP address.
loadBalancerAddresses
- [Network Load Balancers] The static IP address.public String toString()
toString
in class Object
Object.toString()
public AvailabilityZone clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.