#[non_exhaustive]pub struct MultiRegionConfigurationBuilder { /* private fields */ }
Expand description
A builder for MultiRegionConfiguration
.
Implementations§
Source§impl MultiRegionConfigurationBuilder
impl MultiRegionConfigurationBuilder
Sourcepub fn multi_region_key_type(self, input: MultiRegionKeyType) -> Self
pub fn multi_region_key_type(self, input: MultiRegionKeyType) -> Self
Indicates whether the KMS key is a PRIMARY
or REPLICA
key.
Sourcepub fn set_multi_region_key_type(
self,
input: Option<MultiRegionKeyType>,
) -> Self
pub fn set_multi_region_key_type( self, input: Option<MultiRegionKeyType>, ) -> Self
Indicates whether the KMS key is a PRIMARY
or REPLICA
key.
Sourcepub fn get_multi_region_key_type(&self) -> &Option<MultiRegionKeyType>
pub fn get_multi_region_key_type(&self) -> &Option<MultiRegionKeyType>
Indicates whether the KMS key is a PRIMARY
or REPLICA
key.
Sourcepub fn primary_key(self, input: MultiRegionKey) -> Self
pub fn primary_key(self, input: MultiRegionKey) -> Self
Displays the key ARN and Region of the primary key. This field includes the current KMS key if it is the primary key.
Sourcepub fn set_primary_key(self, input: Option<MultiRegionKey>) -> Self
pub fn set_primary_key(self, input: Option<MultiRegionKey>) -> Self
Displays the key ARN and Region of the primary key. This field includes the current KMS key if it is the primary key.
Sourcepub fn get_primary_key(&self) -> &Option<MultiRegionKey>
pub fn get_primary_key(&self) -> &Option<MultiRegionKey>
Displays the key ARN and Region of the primary key. This field includes the current KMS key if it is the primary key.
Sourcepub fn replica_keys(self, input: MultiRegionKey) -> Self
pub fn replica_keys(self, input: MultiRegionKey) -> Self
Appends an item to replica_keys
.
To override the contents of this collection use set_replica_keys
.
displays the key ARNs and Regions of all replica keys. This field includes the current KMS key if it is a replica key.
Sourcepub fn set_replica_keys(self, input: Option<Vec<MultiRegionKey>>) -> Self
pub fn set_replica_keys(self, input: Option<Vec<MultiRegionKey>>) -> Self
displays the key ARNs and Regions of all replica keys. This field includes the current KMS key if it is a replica key.
Sourcepub fn get_replica_keys(&self) -> &Option<Vec<MultiRegionKey>>
pub fn get_replica_keys(&self) -> &Option<Vec<MultiRegionKey>>
displays the key ARNs and Regions of all replica keys. This field includes the current KMS key if it is a replica key.
Sourcepub fn build(self) -> MultiRegionConfiguration
pub fn build(self) -> MultiRegionConfiguration
Consumes the builder and constructs a MultiRegionConfiguration
.
Trait Implementations§
Source§impl Clone for MultiRegionConfigurationBuilder
impl Clone for MultiRegionConfigurationBuilder
Source§fn clone(&self) -> MultiRegionConfigurationBuilder
fn clone(&self) -> MultiRegionConfigurationBuilder
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for MultiRegionConfigurationBuilder
impl Default for MultiRegionConfigurationBuilder
Source§fn default() -> MultiRegionConfigurationBuilder
fn default() -> MultiRegionConfigurationBuilder
Source§impl PartialEq for MultiRegionConfigurationBuilder
impl PartialEq for MultiRegionConfigurationBuilder
Source§fn eq(&self, other: &MultiRegionConfigurationBuilder) -> bool
fn eq(&self, other: &MultiRegionConfigurationBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for MultiRegionConfigurationBuilder
Auto Trait Implementations§
impl Freeze for MultiRegionConfigurationBuilder
impl RefUnwindSafe for MultiRegionConfigurationBuilder
impl Send for MultiRegionConfigurationBuilder
impl Sync for MultiRegionConfigurationBuilder
impl Unpin for MultiRegionConfigurationBuilder
impl UnwindSafe for MultiRegionConfigurationBuilder
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§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