@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] If you need static IP addresses for your load balancer, you can specify one Elastic IP
address per Availability Zone when you create an internal-facing load balancer.
|
String |
getOutpostId()
[Application Load Balancers on Outposts] The ID of the Outpost.
|
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] If you need static IP addresses for your load balancer, you can specify one Elastic IP
address per Availability Zone when you create an internal-facing load balancer.
|
void |
setOutpostId(String outpostId)
[Application Load Balancers on Outposts] The ID of the Outpost.
|
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.
|
AvailabilityZone |
withLoadBalancerAddresses(Collection<LoadBalancerAddress> loadBalancerAddresses)
[Network Load Balancers] If you need static IP addresses for your load balancer, you can specify one Elastic IP
address per Availability Zone when you create an internal-facing load balancer.
|
AvailabilityZone |
withLoadBalancerAddresses(LoadBalancerAddress... loadBalancerAddresses)
[Network Load Balancers] If you need static IP addresses for your load balancer, you can specify one Elastic IP
address per Availability Zone when you create an internal-facing load balancer.
|
AvailabilityZone |
withOutpostId(String outpostId)
[Application Load Balancers on Outposts] The ID of the Outpost.
|
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. You can specify one subnet per Availability Zone.
subnetId
- The ID of the subnet. You can specify one subnet per Availability Zone.public String getSubnetId()
The ID of the subnet. You can specify one subnet per Availability Zone.
public AvailabilityZone withSubnetId(String subnetId)
The ID of the subnet. You can specify one subnet per Availability Zone.
subnetId
- The ID of the subnet. You can specify one subnet per Availability Zone.public void setOutpostId(String outpostId)
[Application Load Balancers on Outposts] The ID of the Outpost.
outpostId
- [Application Load Balancers on Outposts] The ID of the Outpost.public String getOutpostId()
[Application Load Balancers on Outposts] The ID of the Outpost.
public AvailabilityZone withOutpostId(String outpostId)
[Application Load Balancers on Outposts] The ID of the Outpost.
outpostId
- [Application Load Balancers on Outposts] The ID of the Outpost.public List<LoadBalancerAddress> getLoadBalancerAddresses()
[Network Load Balancers] If you need static IP addresses for your load balancer, you can specify one Elastic IP address per Availability Zone when you create an internal-facing load balancer. For internal load balancers, you can specify a private IP address from the IPv4 range of the subnet.
public void setLoadBalancerAddresses(Collection<LoadBalancerAddress> loadBalancerAddresses)
[Network Load Balancers] If you need static IP addresses for your load balancer, you can specify one Elastic IP address per Availability Zone when you create an internal-facing load balancer. For internal load balancers, you can specify a private IP address from the IPv4 range of the subnet.
loadBalancerAddresses
- [Network Load Balancers] If you need static IP addresses for your load balancer, you can specify one
Elastic IP address per Availability Zone when you create an internal-facing load balancer. For internal
load balancers, you can specify a private IP address from the IPv4 range of the subnet.public AvailabilityZone withLoadBalancerAddresses(LoadBalancerAddress... loadBalancerAddresses)
[Network Load Balancers] If you need static IP addresses for your load balancer, you can specify one Elastic IP address per Availability Zone when you create an internal-facing load balancer. For internal load balancers, you can specify a private IP address from the IPv4 range of the subnet.
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] If you need static IP addresses for your load balancer, you can specify one
Elastic IP address per Availability Zone when you create an internal-facing load balancer. For internal
load balancers, you can specify a private IP address from the IPv4 range of the subnet.public AvailabilityZone withLoadBalancerAddresses(Collection<LoadBalancerAddress> loadBalancerAddresses)
[Network Load Balancers] If you need static IP addresses for your load balancer, you can specify one Elastic IP address per Availability Zone when you create an internal-facing load balancer. For internal load balancers, you can specify a private IP address from the IPv4 range of the subnet.
loadBalancerAddresses
- [Network Load Balancers] If you need static IP addresses for your load balancer, you can specify one
Elastic IP address per Availability Zone when you create an internal-facing load balancer. For internal
load balancers, you can specify a private IP address from the IPv4 range of the subnet.public String toString()
toString
in class Object
Object.toString()
public AvailabilityZone clone()