pub struct Builder { /* private fields */ }
Expand description
A builder for AvailabilityZone
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn set_zone_name(self, input: Option<String>) -> Self
pub fn set_zone_name(self, input: Option<String>) -> Self
The name of the Availability Zone.
sourcepub fn subnet_id(self, input: impl Into<String>) -> Self
pub fn subnet_id(self, input: impl Into<String>) -> Self
The ID of the subnet. You can specify one subnet per Availability Zone.
sourcepub fn set_subnet_id(self, input: Option<String>) -> Self
pub fn set_subnet_id(self, input: Option<String>) -> Self
The ID of the subnet. You can specify one subnet per Availability Zone.
sourcepub fn outpost_id(self, input: impl Into<String>) -> Self
pub fn outpost_id(self, input: impl Into<String>) -> Self
[Application Load Balancers on Outposts] The ID of the Outpost.
sourcepub fn set_outpost_id(self, input: Option<String>) -> Self
pub fn set_outpost_id(self, input: Option<String>) -> Self
[Application Load Balancers on Outposts] The ID of the Outpost.
sourcepub fn load_balancer_addresses(self, input: LoadBalancerAddress) -> Self
pub fn load_balancer_addresses(self, input: LoadBalancerAddress) -> Self
Appends an item to load_balancer_addresses
.
To override the contents of this collection use set_load_balancer_addresses
.
[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.
sourcepub fn set_load_balancer_addresses(
self,
input: Option<Vec<LoadBalancerAddress>>
) -> Self
pub fn set_load_balancer_addresses(
self,
input: Option<Vec<LoadBalancerAddress>>
) -> Self
[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.
sourcepub fn build(self) -> AvailabilityZone
pub fn build(self) -> AvailabilityZone
Consumes the builder and constructs a AvailabilityZone
.