Struct aws_sdk_dlm::types::builders::ShareRuleBuilder
source · #[non_exhaustive]pub struct ShareRuleBuilder { /* private fields */ }
Expand description
A builder for ShareRule
.
Implementations§
sourcepub fn target_accounts(self, input: impl Into<String>) -> Self
pub fn target_accounts(self, input: impl Into<String>) -> Self
Appends an item to target_accounts
.
To override the contents of this collection use set_target_accounts
.
The IDs of the Amazon Web Services accounts with which to share the snapshots.
sourcepub fn set_target_accounts(self, input: Option<Vec<String>>) -> Self
pub fn set_target_accounts(self, input: Option<Vec<String>>) -> Self
The IDs of the Amazon Web Services accounts with which to share the snapshots.
sourcepub fn get_target_accounts(&self) -> &Option<Vec<String>>
pub fn get_target_accounts(&self) -> &Option<Vec<String>>
The IDs of the Amazon Web Services accounts with which to share the snapshots.
The period after which snapshots that are shared with other Amazon Web Services accounts are automatically unshared.
The period after which snapshots that are shared with other Amazon Web Services accounts are automatically unshared.
The period after which snapshots that are shared with other Amazon Web Services accounts are automatically unshared.
The unit of time for the automatic unsharing interval.
The unit of time for the automatic unsharing interval.
The unit of time for the automatic unsharing interval.
Trait Implementations§
source§fn clone(&self) -> ShareRuleBuilder
fn clone(&self) -> ShareRuleBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§fn default() -> ShareRuleBuilder
fn default() -> ShareRuleBuilder
source§fn eq(&self, other: &ShareRuleBuilder) -> bool
fn eq(&self, other: &ShareRuleBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.Auto Trait Implementations§
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