Struct aws_sdk_kms::model::MultiRegionConfiguration
source · [−]#[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
sourceimpl 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) -> Option<&[MultiRegionKey]>
pub fn replica_keys(&self) -> Option<&[MultiRegionKey]>
displays the key ARNs and Regions of all replica keys. This field includes the current KMS key if it is a replica key.
sourceimpl MultiRegionConfiguration
impl MultiRegionConfiguration
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture MultiRegionConfiguration
Trait Implementations
sourceimpl Clone for MultiRegionConfiguration
impl Clone for MultiRegionConfiguration
sourcefn clone(&self) -> MultiRegionConfiguration
fn clone(&self) -> MultiRegionConfiguration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for MultiRegionConfiguration
impl Debug for MultiRegionConfiguration
sourceimpl PartialEq<MultiRegionConfiguration> for MultiRegionConfiguration
impl PartialEq<MultiRegionConfiguration> for MultiRegionConfiguration
sourcefn eq(&self, other: &MultiRegionConfiguration) -> bool
fn eq(&self, other: &MultiRegionConfiguration) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &MultiRegionConfiguration) -> bool
fn ne(&self, other: &MultiRegionConfiguration) -> bool
This method tests for !=.
impl StructuralPartialEq for MultiRegionConfiguration
Auto Trait Implementations
impl RefUnwindSafe for MultiRegionConfiguration
impl Send for MultiRegionConfiguration
impl Sync for MultiRegionConfiguration
impl Unpin for MultiRegionConfiguration
impl UnwindSafe for MultiRegionConfiguration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more