#[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
impl StructuralPartialEq for AvailabilityZoneBuilder
Auto Trait Implementations§
impl Freeze for AvailabilityZoneBuilder
impl RefUnwindSafe for AvailabilityZoneBuilder
impl Send for AvailabilityZoneBuilder
impl Sync for AvailabilityZoneBuilder
impl Unpin for AvailabilityZoneBuilder
impl UnwindSafe for AvailabilityZoneBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more