#[non_exhaustive]pub struct RegionalConfigurationBuilder { /* private fields */ }
Expand description
A builder for RegionalConfiguration
.
Implementations§
source§impl RegionalConfigurationBuilder
impl RegionalConfigurationBuilder
sourcepub fn replication_group_id(self, input: impl Into<String>) -> Self
pub fn replication_group_id(self, input: impl Into<String>) -> Self
The name of the secondary cluster
This field is required.sourcepub fn set_replication_group_id(self, input: Option<String>) -> Self
pub fn set_replication_group_id(self, input: Option<String>) -> Self
The name of the secondary cluster
sourcepub fn get_replication_group_id(&self) -> &Option<String>
pub fn get_replication_group_id(&self) -> &Option<String>
The name of the secondary cluster
sourcepub fn replication_group_region(self, input: impl Into<String>) -> Self
pub fn replication_group_region(self, input: impl Into<String>) -> Self
The Amazon region where the cluster is stored
This field is required.sourcepub fn set_replication_group_region(self, input: Option<String>) -> Self
pub fn set_replication_group_region(self, input: Option<String>) -> Self
The Amazon region where the cluster is stored
sourcepub fn get_replication_group_region(&self) -> &Option<String>
pub fn get_replication_group_region(&self) -> &Option<String>
The Amazon region where the cluster is stored
sourcepub fn resharding_configuration(self, input: ReshardingConfiguration) -> Self
pub fn resharding_configuration(self, input: ReshardingConfiguration) -> Self
Appends an item to resharding_configuration
.
To override the contents of this collection use set_resharding_configuration
.
A list of PreferredAvailabilityZones
objects that specifies the configuration of a node group in the resharded cluster.
sourcepub fn set_resharding_configuration(
self,
input: Option<Vec<ReshardingConfiguration>>,
) -> Self
pub fn set_resharding_configuration( self, input: Option<Vec<ReshardingConfiguration>>, ) -> Self
A list of PreferredAvailabilityZones
objects that specifies the configuration of a node group in the resharded cluster.
sourcepub fn get_resharding_configuration(
&self,
) -> &Option<Vec<ReshardingConfiguration>>
pub fn get_resharding_configuration( &self, ) -> &Option<Vec<ReshardingConfiguration>>
A list of PreferredAvailabilityZones
objects that specifies the configuration of a node group in the resharded cluster.
sourcepub fn build(self) -> RegionalConfiguration
pub fn build(self) -> RegionalConfiguration
Consumes the builder and constructs a RegionalConfiguration
.
Trait Implementations§
source§impl Clone for RegionalConfigurationBuilder
impl Clone for RegionalConfigurationBuilder
source§fn clone(&self) -> RegionalConfigurationBuilder
fn clone(&self) -> RegionalConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RegionalConfigurationBuilder
impl Debug for RegionalConfigurationBuilder
source§impl Default for RegionalConfigurationBuilder
impl Default for RegionalConfigurationBuilder
source§fn default() -> RegionalConfigurationBuilder
fn default() -> RegionalConfigurationBuilder
source§impl PartialEq for RegionalConfigurationBuilder
impl PartialEq for RegionalConfigurationBuilder
source§fn eq(&self, other: &RegionalConfigurationBuilder) -> bool
fn eq(&self, other: &RegionalConfigurationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RegionalConfigurationBuilder
Auto Trait Implementations§
impl Freeze for RegionalConfigurationBuilder
impl RefUnwindSafe for RegionalConfigurationBuilder
impl Send for RegionalConfigurationBuilder
impl Sync for RegionalConfigurationBuilder
impl Unpin for RegionalConfigurationBuilder
impl UnwindSafe for RegionalConfigurationBuilder
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