Struct aws_sdk_dlm::types::CrossRegionCopyAction
source · #[non_exhaustive]pub struct CrossRegionCopyAction {
pub target: Option<String>,
pub encryption_configuration: Option<EncryptionConfiguration>,
pub retain_rule: Option<CrossRegionCopyRetainRule>,
}
Expand description
[Event-based policies only] Specifies a cross-Region copy action for event-based policies.
To specify a cross-Region copy rule for snapshot and AMI policies, use CrossRegionCopyRule.
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.target: Option<String>
The target Region.
encryption_configuration: Option<EncryptionConfiguration>
The encryption settings for the copied snapshot.
retain_rule: Option<CrossRegionCopyRetainRule>
Specifies a retention rule for cross-Region snapshot copies created by snapshot or event-based policies, or cross-Region AMI copies created by AMI policies. After the retention period expires, the cross-Region copy is deleted.
Implementations§
source§impl CrossRegionCopyAction
impl CrossRegionCopyAction
sourcepub fn encryption_configuration(&self) -> Option<&EncryptionConfiguration>
pub fn encryption_configuration(&self) -> Option<&EncryptionConfiguration>
The encryption settings for the copied snapshot.
sourcepub fn retain_rule(&self) -> Option<&CrossRegionCopyRetainRule>
pub fn retain_rule(&self) -> Option<&CrossRegionCopyRetainRule>
Specifies a retention rule for cross-Region snapshot copies created by snapshot or event-based policies, or cross-Region AMI copies created by AMI policies. After the retention period expires, the cross-Region copy is deleted.
source§impl CrossRegionCopyAction
impl CrossRegionCopyAction
sourcepub fn builder() -> CrossRegionCopyActionBuilder
pub fn builder() -> CrossRegionCopyActionBuilder
Creates a new builder-style object to manufacture CrossRegionCopyAction
.
Trait Implementations§
source§impl Clone for CrossRegionCopyAction
impl Clone for CrossRegionCopyAction
source§fn clone(&self) -> CrossRegionCopyAction
fn clone(&self) -> CrossRegionCopyAction
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CrossRegionCopyAction
impl Debug for CrossRegionCopyAction
source§impl PartialEq for CrossRegionCopyAction
impl PartialEq for CrossRegionCopyAction
source§fn eq(&self, other: &CrossRegionCopyAction) -> bool
fn eq(&self, other: &CrossRegionCopyAction) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CrossRegionCopyAction
Auto Trait Implementations§
impl Freeze for CrossRegionCopyAction
impl RefUnwindSafe for CrossRegionCopyAction
impl Send for CrossRegionCopyAction
impl Sync for CrossRegionCopyAction
impl Unpin for CrossRegionCopyAction
impl UnwindSafe for CrossRegionCopyAction
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> 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