#[non_exhaustive]pub struct ZoneAwarenessConfigBuilder { /* private fields */ }
Expand description
A builder for ZoneAwarenessConfig
.
Implementations§
source§impl ZoneAwarenessConfigBuilder
impl ZoneAwarenessConfigBuilder
sourcepub fn availability_zone_count(self, input: i32) -> Self
pub fn availability_zone_count(self, input: i32) -> Self
An integer value to indicate the number of availability zones for a domain when zone awareness is enabled. This should be equal to number of subnets if VPC endpoints is enabled
sourcepub fn set_availability_zone_count(self, input: Option<i32>) -> Self
pub fn set_availability_zone_count(self, input: Option<i32>) -> Self
An integer value to indicate the number of availability zones for a domain when zone awareness is enabled. This should be equal to number of subnets if VPC endpoints is enabled
sourcepub fn get_availability_zone_count(&self) -> &Option<i32>
pub fn get_availability_zone_count(&self) -> &Option<i32>
An integer value to indicate the number of availability zones for a domain when zone awareness is enabled. This should be equal to number of subnets if VPC endpoints is enabled
sourcepub fn build(self) -> ZoneAwarenessConfig
pub fn build(self) -> ZoneAwarenessConfig
Consumes the builder and constructs a ZoneAwarenessConfig
.
Trait Implementations§
source§impl Clone for ZoneAwarenessConfigBuilder
impl Clone for ZoneAwarenessConfigBuilder
source§fn clone(&self) -> ZoneAwarenessConfigBuilder
fn clone(&self) -> ZoneAwarenessConfigBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ZoneAwarenessConfigBuilder
impl Debug for ZoneAwarenessConfigBuilder
source§impl Default for ZoneAwarenessConfigBuilder
impl Default for ZoneAwarenessConfigBuilder
source§fn default() -> ZoneAwarenessConfigBuilder
fn default() -> ZoneAwarenessConfigBuilder
Returns the “default value” for a type. Read more
impl StructuralPartialEq for ZoneAwarenessConfigBuilder
Auto Trait Implementations§
impl Freeze for ZoneAwarenessConfigBuilder
impl RefUnwindSafe for ZoneAwarenessConfigBuilder
impl Send for ZoneAwarenessConfigBuilder
impl Sync for ZoneAwarenessConfigBuilder
impl Unpin for ZoneAwarenessConfigBuilder
impl UnwindSafe for ZoneAwarenessConfigBuilder
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
Mutably borrows from an owned value. Read more
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)
🔬This is a nightly-only experimental API. (
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.