#[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
If you enabled multiple Availability Zones, this value is the number of zones that you want the domain to use. Valid values are 2
and 3
. If your domain is provisioned within a VPC, this value be equal to number of subnets.
sourcepub fn set_availability_zone_count(self, input: Option<i32>) -> Self
pub fn set_availability_zone_count(self, input: Option<i32>) -> Self
If you enabled multiple Availability Zones, this value is the number of zones that you want the domain to use. Valid values are 2
and 3
. If your domain is provisioned within a VPC, this value be equal to number of subnets.
sourcepub fn get_availability_zone_count(&self) -> &Option<i32>
pub fn get_availability_zone_count(&self) -> &Option<i32>
If you enabled multiple Availability Zones, this value is the number of zones that you want the domain to use. Valid values are 2
and 3
. If your domain is provisioned within a VPC, this value be equal to number of subnets.
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
source§impl PartialEq for ZoneAwarenessConfigBuilder
impl PartialEq for ZoneAwarenessConfigBuilder
source§fn eq(&self, other: &ZoneAwarenessConfigBuilder) -> bool
fn eq(&self, other: &ZoneAwarenessConfigBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.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
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