#[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 ==
.