#[non_exhaustive]pub struct MultiRegionConfiguration {
pub multi_region_key_type: Option<MultiRegionKeyType>,
pub primary_key: Option<MultiRegionKey>,
pub replica_keys: Option<Vec<MultiRegionKey>>,
}
Expand description
Describes the configuration of this multi-Region key. This field appears only when the KMS key is a primary or replica of a multi-Region key.
For more information about any listed KMS key, use the DescribeKey
operation.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.multi_region_key_type: Option<MultiRegionKeyType>
Indicates whether the KMS key is a PRIMARY
or REPLICA
key.
primary_key: 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.
replica_keys: 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.
Implementations§
Source§impl MultiRegionConfiguration
impl MultiRegionConfiguration
Sourcepub fn multi_region_key_type(&self) -> Option<&MultiRegionKeyType>
pub fn multi_region_key_type(&self) -> Option<&MultiRegionKeyType>
Indicates whether the KMS key is a PRIMARY
or REPLICA
key.
Sourcepub fn primary_key(&self) -> Option<&MultiRegionKey>
pub fn 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) -> &[MultiRegionKey]
pub fn replica_keys(&self) -> &[MultiRegionKey]
displays the key ARNs and Regions of all replica keys. This field includes the current KMS key if it is a replica key.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .replica_keys.is_none()
.
Source§impl MultiRegionConfiguration
impl MultiRegionConfiguration
Sourcepub fn builder() -> MultiRegionConfigurationBuilder
pub fn builder() -> MultiRegionConfigurationBuilder
Creates a new builder-style object to manufacture MultiRegionConfiguration
.
Trait Implementations§
Source§impl Clone for MultiRegionConfiguration
impl Clone for MultiRegionConfiguration
Source§fn clone(&self) -> MultiRegionConfiguration
fn clone(&self) -> MultiRegionConfiguration
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for MultiRegionConfiguration
impl Debug for MultiRegionConfiguration
Source§impl PartialEq for MultiRegionConfiguration
impl PartialEq for MultiRegionConfiguration
impl StructuralPartialEq for MultiRegionConfiguration
Auto Trait Implementations§
impl Freeze for MultiRegionConfiguration
impl RefUnwindSafe for MultiRegionConfiguration
impl Send for MultiRegionConfiguration
impl Sync for MultiRegionConfiguration
impl Unpin for MultiRegionConfiguration
impl UnwindSafe for MultiRegionConfiguration
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