Struct aws_sdk_dlm::types::builders::CrossRegionCopyActionBuilder
source · #[non_exhaustive]pub struct CrossRegionCopyActionBuilder { /* private fields */ }
Expand description
A builder for CrossRegionCopyAction
.
Implementations§
source§impl CrossRegionCopyActionBuilder
impl CrossRegionCopyActionBuilder
sourcepub fn target(self, input: impl Into<String>) -> Self
pub fn target(self, input: impl Into<String>) -> Self
The target Region.
This field is required.sourcepub fn set_target(self, input: Option<String>) -> Self
pub fn set_target(self, input: Option<String>) -> Self
The target Region.
sourcepub fn get_target(&self) -> &Option<String>
pub fn get_target(&self) -> &Option<String>
The target Region.
sourcepub fn encryption_configuration(self, input: EncryptionConfiguration) -> Self
pub fn encryption_configuration(self, input: EncryptionConfiguration) -> Self
The encryption settings for the copied snapshot.
This field is required.sourcepub fn set_encryption_configuration(
self,
input: Option<EncryptionConfiguration>
) -> Self
pub fn set_encryption_configuration( self, input: Option<EncryptionConfiguration> ) -> Self
The encryption settings for the copied snapshot.
sourcepub fn get_encryption_configuration(&self) -> &Option<EncryptionConfiguration>
pub fn get_encryption_configuration(&self) -> &Option<EncryptionConfiguration>
The encryption settings for the copied snapshot.
sourcepub fn retain_rule(self, input: CrossRegionCopyRetainRule) -> Self
pub fn retain_rule(self, input: CrossRegionCopyRetainRule) -> Self
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.
sourcepub fn set_retain_rule(self, input: Option<CrossRegionCopyRetainRule>) -> Self
pub fn set_retain_rule(self, input: Option<CrossRegionCopyRetainRule>) -> Self
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.
sourcepub fn get_retain_rule(&self) -> &Option<CrossRegionCopyRetainRule>
pub fn get_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.
sourcepub fn build(self) -> CrossRegionCopyAction
pub fn build(self) -> CrossRegionCopyAction
Consumes the builder and constructs a CrossRegionCopyAction
.
Trait Implementations§
source§impl Clone for CrossRegionCopyActionBuilder
impl Clone for CrossRegionCopyActionBuilder
source§fn clone(&self) -> CrossRegionCopyActionBuilder
fn clone(&self) -> CrossRegionCopyActionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CrossRegionCopyActionBuilder
impl Debug for CrossRegionCopyActionBuilder
source§impl Default for CrossRegionCopyActionBuilder
impl Default for CrossRegionCopyActionBuilder
source§fn default() -> CrossRegionCopyActionBuilder
fn default() -> CrossRegionCopyActionBuilder
source§impl PartialEq for CrossRegionCopyActionBuilder
impl PartialEq for CrossRegionCopyActionBuilder
source§fn eq(&self, other: &CrossRegionCopyActionBuilder) -> bool
fn eq(&self, other: &CrossRegionCopyActionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CrossRegionCopyActionBuilder
Auto Trait Implementations§
impl Freeze for CrossRegionCopyActionBuilder
impl RefUnwindSafe for CrossRegionCopyActionBuilder
impl Send for CrossRegionCopyActionBuilder
impl Sync for CrossRegionCopyActionBuilder
impl Unpin for CrossRegionCopyActionBuilder
impl UnwindSafe for CrossRegionCopyActionBuilder
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