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