Struct aws_sdk_dlm::types::builders::ActionBuilder
source · #[non_exhaustive]pub struct ActionBuilder { /* private fields */ }
Expand description
A builder for Action
.
Implementations§
source§impl ActionBuilder
impl ActionBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
A descriptive name for the action.
This field is required.sourcepub fn cross_region_copy(self, input: CrossRegionCopyAction) -> Self
pub fn cross_region_copy(self, input: CrossRegionCopyAction) -> Self
Appends an item to cross_region_copy
.
To override the contents of this collection use set_cross_region_copy
.
The rule for copying shared snapshots across Regions.
sourcepub fn set_cross_region_copy(
self,
input: Option<Vec<CrossRegionCopyAction>>
) -> Self
pub fn set_cross_region_copy( self, input: Option<Vec<CrossRegionCopyAction>> ) -> Self
The rule for copying shared snapshots across Regions.
sourcepub fn get_cross_region_copy(&self) -> &Option<Vec<CrossRegionCopyAction>>
pub fn get_cross_region_copy(&self) -> &Option<Vec<CrossRegionCopyAction>>
The rule for copying shared snapshots across Regions.
Trait Implementations§
source§impl Clone for ActionBuilder
impl Clone for ActionBuilder
source§fn clone(&self) -> ActionBuilder
fn clone(&self) -> ActionBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ActionBuilder
impl Debug for ActionBuilder
source§impl Default for ActionBuilder
impl Default for ActionBuilder
source§fn default() -> ActionBuilder
fn default() -> ActionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ActionBuilder
impl PartialEq for ActionBuilder
source§fn eq(&self, other: &ActionBuilder) -> bool
fn eq(&self, other: &ActionBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ActionBuilder
Auto Trait Implementations§
impl Freeze for ActionBuilder
impl RefUnwindSafe for ActionBuilder
impl Send for ActionBuilder
impl Sync for ActionBuilder
impl Unpin for ActionBuilder
impl UnwindSafe for ActionBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.