#[non_exhaustive]pub struct AvailabilityZoneBuilder { /* private fields */ }
Expand description
A builder for AvailabilityZone
.
Implementations§
source§impl AvailabilityZoneBuilder
impl AvailabilityZoneBuilder
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 get_zone_name(&self) -> &Option<String>
pub fn get_zone_name(&self) -> &Option<String>
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 get_subnet_id(&self) -> &Option<String>
pub fn get_subnet_id(&self) -> &Option<String>
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 get_outpost_id(&self) -> &Option<String>
pub fn get_outpost_id(&self) -> &Option<String>
[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 get_load_balancer_addresses(&self) -> &Option<Vec<LoadBalancerAddress>>
pub fn get_load_balancer_addresses(&self) -> &Option<Vec<LoadBalancerAddress>>
[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
.
Trait Implementations§
source§impl Clone for AvailabilityZoneBuilder
impl Clone for AvailabilityZoneBuilder
source§fn clone(&self) -> AvailabilityZoneBuilder
fn clone(&self) -> AvailabilityZoneBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AvailabilityZoneBuilder
impl Debug for AvailabilityZoneBuilder
source§impl Default for AvailabilityZoneBuilder
impl Default for AvailabilityZoneBuilder
source§fn default() -> AvailabilityZoneBuilder
fn default() -> AvailabilityZoneBuilder
source§impl PartialEq for AvailabilityZoneBuilder
impl PartialEq for AvailabilityZoneBuilder
source§fn eq(&self, other: &AvailabilityZoneBuilder) -> bool
fn eq(&self, other: &AvailabilityZoneBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.